jbleistein1
ADSM.ORG Member
- Joined
- Sep 8, 2008
- Messages
- 10
- Reaction score
- 0
- Points
- 0
I have a db2 database called prod1, which resides in the prod instance on an AIX system. I have the db2 tsm api setup so it backs up directly to tsm. The db2 backup db prod to tsm works fine. I see the sessions in tsm, and a select from the backups, and archives tables from the tsm server db shows the db2 backup files, and archive log respectively. I goto restore my db2 database. I rm -rf my db2 Unix directly structure. I then issue a db2 resotore db prod.... command. It restores all db2 backup files as well as rollforwards the database completely using the archive logs, just as expected. However when I look in the archive log destination, which I also wiped out before the restore with an rm -fr...., I notice that the logs are still gone.. How did db2 rollforward the logs stored on the tsm server if they aren't there? Does db2 just open a stream to the logs on the tsm server and just restores/rollforwards there contents, but doesn't restore the actual physical db2 log files themselves to the client system? Just wondering because in the Oracle tdp, rman physically restores the archive log files for the database then rollforwards, and after the recovery you can still see the files there via an ls -l .... command.
Also a strictly db2 related question. After I rollforward the db2 database, and bring it back online. I only see like 1 primary log out there rather then 13 which is what my primary log parameter is set to?
Can anyone assist?
Please advise.
Thanks,
--Justin Richard Bleistein
TSM/AIX/IBM Enterprise/Oracle database
Also a strictly db2 related question. After I rollforward the db2 database, and bring it back online. I only see like 1 primary log out there rather then 13 which is what my primary log parameter is set to?
Can anyone assist?
Please advise.
Thanks,
--Justin Richard Bleistein
TSM/AIX/IBM Enterprise/Oracle database