DB2 databaseOfBackupWork is important, so only after the successful backup of the DB2 database can play a role. If it is not successful, it is equivalent to doing it in white, this article will teach you how to verify whether the backup of the DB2 database is successful or not, and hope to help you.
Successful backup is very important for DB2 users. How can we ensure that your backup is successful? DB2 provides a very simple verification tool, db2ckbkp.
Here is a simple example:
On AIX, we made a backup for a database named sample. The backup file name is SAMPLE.0.db2inst1. node).catn).20041123142456.001.
Below 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, please note that this command can only verify that there is a backup medium on the disk, which is not possible on the tape.
Db2ckbkp SAMPLE.0.db2inst1. node1_.catn0000.20041123142456.001
[1] Buffers processed :######
Image Verification Complete-successful
This is all I want to explain to you about verifying whether the backup of the DB2 database is successful. I hope you will gain some benefits from the content mentioned above.