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 > db2 online db backup & restore

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-28-10, 03:21
db22user db22user is offline
Registered User
 
Join Date: Sep 2010
Posts: 8
db2 online db backup & restore

I am new in db2, i want to take an online backup of db2 database using control center. I have already taken an online backup but i am not sure about copying log files. should i copy them into a new folder after clicking FINISH button of backup operations?

While restoring db, when i need to paste these log files?

Should i do this;

- After finishing restore operations from control center
- Paste log files on the path mentioned (get db cfg for xxxx)
- Run rollforward end of logs interface...

plz guide me, if i m wrong...
Reply With Quote
  #2 (permalink)  
Old 09-28-10, 08:06
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
When doing the backup, use the "INCLUDE LOGS" clause in the command. This will add the necessary logs to the backup image so that all you need to create a working database is the image. Then when you restore, you can extract the logs from the image to the path you want using LOGTARGET and NEWLOGPATH.

Andy
Reply With Quote
  #3 (permalink)  
Old 09-28-10, 08:43
db22user db22user is offline
Registered User
 
Join Date: Sep 2010
Posts: 8
thanks andy... I will try it and let you know if there will be any problem
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