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 > Move a DB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-15-07, 07:18
chemaster chemaster is offline
Registered User
 
Join Date: Feb 2006
Posts: 13
Move a DB

I have a 1.6gb database on my 'D' drive and wish to move it to the 'C' drive.

What is the best way of moving it so that it does not disrupt db2? Please be as detailed as possible.

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 01-15-07, 07:39
grofaty grofaty is offline
Registered User
 
Join Date: Jan 2003
Posts: 1,570
Hi,
I think it is the only way to backup, drop and restore database at new location.
Hope this helps,
Grofaty
Reply With Quote
  #3 (permalink)  
Old 01-15-07, 11:10
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
You could use either backup/restore, as Grofaty has mentioned, or the db2relocatedb command.
Reply With Quote
  #4 (permalink)  
Old 01-16-07, 01:59
rahul_s80 rahul_s80 is offline
Registered User
 
Join Date: Jul 2006
Location: Pune , India
Posts: 433
db2relocatedb is what u need

check out the whole article on it
http://www-128.ibm.com/developerwork...amb/index.html

Rahul Singh
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