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 on windows (v9.5) backup history

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-07-08, 14:27
itsonlyme44 itsonlyme44 is offline
Registered User
 
Join Date: Dec 2007
Posts: 261
db2 on windows (v9.5) backup history

We have a Datamart on DB2 on Windows. I was asked recently to print the last 2 weeks worth of backup history for one of the databases in the datamart.

I used this command: list history backup all for proddm
Buit this only returned the last 5 entries (5 days worth)

I checked my config file for history retention and it is set like this:
"Recovery","REC_HIS_RETENTN","60","Recovery history retention period"

Luckily, I had logs from the .bat files that call the SQL we use to do the actual backups..

Obviously my history retention is set appropriately ... is there another command I can use to generate backup history reports? Something does not see right..
Reply With Quote
  #2 (permalink)  
Old 11-07-08, 16:52
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Did you look at this parm?

Number of database backups to retain (NUM_DB_BACKUPS) = 12

db2 get db cfg for sample
__________________
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