If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > want to backup only schemas

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-22-08, 02:35
jayshah7 jayshah7 is offline
Registered User
 
Join Date: Feb 2008
Posts: 35
want to backup only schemas

Hello everyone,
I have a requirement for taking the backup of only a particular schema, without taking the backup of rows in it, as the data r stored in some other server which populates every day. So, i ncase in future, my database gets corrupted, i should b able to restore the whole database structure with all related indexes or any kind of objects.

I am confused as to use db2look or db2move option, can anyone help on this ?????
Reply With Quote
  #2 (permalink)  
Old 02-22-08, 02:50
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
db2look -d xx -e -l -x will create the complete structure of the db
no data is involved
db2move is to move the data - without the structure. the db has to exist
best regards, guy przytula
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On