For users of the DB2 database, successful backup is very important. How can we ensure that the backup is successful? This article describes how to verify that the DB2 database backup is successful. For your reference, I hope to enlighten you.
DB2 provides a very simple verification tool db2ckbkp. This article lists a specific example:
For DB2 users, successful backup is particularly important. How can we ensure that your backup is successful? DB2 provides a very simple verification tool db2ckbkp. This article lists a specific example:
In the AIX system environment, we made a backup for a database named sample. The backup file name is:
SAMPLE.0.db2inst1. node).catn).20041123142456.001. the following is the output of running db2ckbkp. if you see successful information, it indicates that the backup media is available, and you can use this backup to recover it with confidence. however, you must note that this command can only verify that the backup media on the disk exists, but not on the tape.
Db2ckbkp SAMPLE.0.db2inst1. node1_.catn0000.20041123142456.001 [1] Buffers processed: ##### Image Verification Complete-successful
The above content is to teach you how to verify whether the DB2 database backup is successful.