June 2018
Intermediate to advanced
478 pages
10h 52m
English
The Db2 recover utility uses the information in the history files to determine the backup image to use for the required point-in-time recovery. If the required backup image is an incremental backup, the recover utility will invoke incremental automatic logic to perform the restore using the db2ckrst command. This utility will only perform a database level recovery; no table space recovery and redirection options are available.
You can invoke the Db2 recover utility using the basic syntax for the RECOVER DATABASE command as follows:
RECOVER [DATABASE | DB] [DatabaseAlias]<TO [PointInTime] <USING [UTC | LOCAL] TIME> |END OF LOGS><USER [UserName] <USING [Password]>><USING HISTORY FILE ([HistoryFile])><OVERFLOW LOG PATH ...
Read now
Unlock full access