Hi Everybody!!
I ran ito a problem with logs. We are running DB2 UDB v8.1 FP7, OS: AIX. For 2 days we had missed online backups (the online backup script was scheduled through UNIX scheduler and got stuck somewhere). And during that period the logs also didn't get archived.
Now my question is Can I restore the database to somepoint in time between those days when i didn't get the backups. I am assuming that if my logs didn't get archived they must be there in active logs which eventually got archived when we had a successfull backup after 2 days.
Also another question, do I need to set my USEREXIT to yes, if the LOGARCHMETH1 is set to TSM.
db2 get db cfg | grep log
User exit for logging status = YES
Catalog cache size (4KB) (CATALOGCACHE_SZ) = (MAXAPPLS*4)
Number of primary log files (LOGPRIMARY) = 30
Number of secondary log files (LOGSECOND) = 20
Changed path to log files (NEWLOGPATH) =
Path to log files = /prod1/sms/log/xyz/NODE0000/
Overflow log path (OVERFLOWLOGPATH) =
Mirror log path (MIRRORLOGPATH) =
First active log file = S0000353.LOG
Block log on disk full (BLK_LOG_DSK_FUL) = NO
Percent of max active log space by transaction(MAX_LOG) = 0
Num. of active log files for 1 active UOW(NUM_LOG_SPAN) = 0
Percent log file reclaimed before soft chckpt (SOFTMAX) = 100
User exit for logging enabled (USEREXIT) = OFF
HADR log write synchronization mode (HADR_SYNCMODE) = NEARSYNC
First log archive method (LOGARCHMETH1) = TSM
Options for logarchmeth1 (LOGARCHOPT1) =
Second log archive method (LOGARCHMETH2) = OFF
Options for logarchmeth2 (LOGARCHOPT2) =
Failover log archive path (FAILARCHPATH) =
Number of log archive retries on error (NUMARCHRETRY) = 5
I would appreciate some help in this area
Thanks in advance
Anks