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 > restoring database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-27-04, 17:25
nandra nandra is offline
Registered User
 
Join Date: Sep 2004
Posts: 24
restoring database

Hi DBA guru's,

Iam working on DB2 8.1 with fixpack 4 and solaris.I got 2 databases A & B on 2 solaris boxes. I need to copy whole the data from database A on box 1 to database B on box2. If i use restore command with redirect option will be ok or is there any other option.
But the target database name should be same as previous i.e B.

Its urjent...........replys will be appreciated......

thanks in advance
Nandra
Reply With Quote
  #2 (permalink)  
Old 12-28-04, 03:54
manjushree manjushree is offline
Registered User
 
Join Date: Apr 2004
Posts: 1
If you want to copy only data ,restore will not work .You will have to load /import data from A db to B db.
if you want to copy or restore the backup of A as B ,restore redirected should work .


-Manju
Reply With Quote
  #3 (permalink)  
Old 12-28-04, 10:55
nandra nandra is offline
Registered User
 
Join Date: Sep 2004
Posts: 24
Quote:
Originally Posted by manjushree
If you want to copy only data ,restore will not work .You will have to load /import data from A db to B db.
if you want to copy or restore the backup of A as B ,restore redirected should work .


-Manju
Thanks..........
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