11-07-2018 07:55 AM
We need to restore and recover the DB2 environment to a specific time. We used VENDOR Archive method to backup transaction logs.
As we tried to do point in time recovery(using GUI & Command line); log file restoration did not stopped at the specified time on both occasions. Therefore we are unable to recover the database for a point in time.
We are using NetBacku 8.1
Need your help on this..
Solved! Go to Solution.
11-08-2018 12:15 AM
Thank you Marianne !
DB2 recovery process is not a complex scenario like RMAN recovery. We can do it either using GUI or Command CLI.
But we had this issue, as we needed to rcover the db to a specific time. Finaly we found that the time should not be specified in local time instead we had to use UTC time. Then everything worked fine.
11-08-2018 12:01 AM
I am not a DB2 expert, but I know this about NetBackup:
It will restore whatever is requested. Nothing more, nothing less.
The NBU utilities certainly have limitations.
We see this in NBU for DB2 manual:
The NetBackup for DB2 database wizards can create backup and
recovery templates. You can launch the backup wizard and the
recovery wizard from the Backup, Archive, and Restore interface.
The wizards generate platform-independent templates containing
configuration information the software uses during backups and
restores. Before you can create, modify, delete, or rename
templates on the master server, the client must exist in a policy or
in the NetBackup image catalog. Because the wizard-generated
templates do not support all the features native to DB2, you may
want to write a customized backup or restore script. You should
use an operating-system defined scripting language to create the
scripts and use a template as the base for a script.
And:
Because recovery can be a complex process, it might be necessary to perform
manual steps as part of the operation. For more information, see your DB2
documentation.
So, for point in time recovery, best to use DB2 documentation for RECOVER commands/options.
This looks like a good starting point:
11-08-2018 12:15 AM
Thank you Marianne !
DB2 recovery process is not a complex scenario like RMAN recovery. We can do it either using GUI or Command CLI.
But we had this issue, as we needed to rcover the db to a specific time. Finaly we found that the time should not be specified in local time instead we had to use UTC time. Then everything worked fine.