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 > Need to Move Database...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-26-06, 03:09
Ayusman Ayusman is offline
Registered User
 
Join Date: Nov 2005
Posts: 16
Need to Move Database...

Hi,
I have a requirement to move an existing Database from one DB2 server to another. We are using DB2 8.1.
I need to move the database along with the tables,constraints,data and indexes and tablespace that have been created.

Please let me know if there is any wy to do this.


Thanks in Advance
Kaushik..
Reply With Quote
  #2 (permalink)  
Old 07-26-06, 04:57
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
db2look to move the DDL, procedures, triggers, UDF's, etc.
db2move to move the data.

Both utilities are described in the Command Reference manual.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 07-26-06, 06:38
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
suppose if you want to move DB from sever A to server B
Create a blank Db on server B
Take a back up of A and copy the image to B .(Make sure to keep the directory structure same )
Now restore the image on Blank DB at B.

Thanks,
Rahul
Reply With Quote
  #4 (permalink)  
Old 07-26-06, 07:42
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Quote:
Take a back up of A and copy the image to B .(Make sure to keep the directory structure same )
If the directory structure of the tablespaces is not same, use redirected restore ..

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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