Is there a way to know what are the necessary log files for specific backup?
Un example of backup and restore process:
db2 BACKUP DATABASE TST1 ONLINE TO '/db2/backup' db2 RESTORE DATABASE TST1 FROM '/db2/backup' TAKEN AT 20150826131633 TO '/db2/data' INTO TST2 db2 rollforward db TST2 to end of logs db2 rollforward db TST2 complete
Now, in order to be able to
rollfoward to end of logs I need to copy the logs from the backuped DB to the target archive dir. What I do is coping the last 2 days and it always passed. Some day it will not.
So how can I know during backup time(right after it) what files exactly in addition I need to backup..?