Do not be afraid of damage to the historical DB2 backup file!

Source: Internet
Author: User

The following articles mainly explain the problem of damage to the historical DB2 backup file. In actual operations, the DB2 backup history file is often damaged, how can we answer this question? The following articles will provide the correct answer.

DB2 and DB2 backup

Environment

Product: DB2

Platform: cross-platform

Version: DB2 5.2; DB2 6.1

The DB2 backup history file is corrupted.

Answer

If the DB2 backup history file db2rhist. asc is damaged during database backup, and the error code SQL2048 is incorrect, perform the following steps:

1. Find the file in the NODE000x/SQL000x directory and its backup file db2rhist. bak to move the db2rhist. asc file to another directory.

2. Run the BACKUP command again. This command still reports the same error, but the DB2 system will automatically use db2rhist. bak to regenerate the db2rhist. asc file.

3. Run the BACKUP command again to run it correctly.

If the same error persists after performing the preceding steps, perform the following operations: 1. find the file in the NODE000x/SQL000x directory and its backup file db2rhist. bak to move these two files to other directories.

2. Run the BACKUP command again. This command still reports the same error, but the DB2 system will automatically regenerate the two files.

3. Run the BACKUP command again to run it correctly.

The above content is a description of the damage to the DB2 backup history file, hoping to help you in this regard.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.