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 > When to use the "Recover" command. DB2v9.1

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-23-09, 11:56
elittle elittle is offline
Registered User
 
Join Date: Jan 2009
Posts: 1
When to use the "Recover" command. DB2v9.1

Thank you in advance. I am researching the Recover command and when it is best to use this command. I have been to IBM's website and found a few things but not what I am really looking for. I am hoping someone in here has used it and has an idea of the best practice of using it i.e. when to use it, when not to etc.

Thanks,
elittle
Reply With Quote
  #2 (permalink)  
Old 01-23-09, 18:29
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
If you want to restore an existing database from a backup taken of that database and roll forward to end of logs (not doing a redirected restore), the do a recover.

A recover will automatically find the last backup file and do the rollforard. DB2 for z/OS has had this for over 20 years (at least at the tablespace level).

This would most likely be used if the database got corrupted or if a disk drive was bad and then was replaced, and you wanted to restore the database and apply all comitted transactions.
__________________
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
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