After DB2 is uninstalled, some data in the original database is properly restored.

Source: Internet
Author: User

This article mainly describes the actual operation process of correctly recovering some data in the original database after DB2 is uninstalled. To better describe it, this article mainly explains it in a Q & A manner, the following is a detailed description of the main content of the article.

Q: I accidentally uninstalled DB2. Is there any way to restore the data in the original database? DB2 and DB2CTLSV are left after DB2 is uninstalled, but these two directories are not big. Could you tell us about the DB2 database files?

Are there two directories? If not, it would be miserable.

Answer:

 
 
  1. The database shocould be in DB2 directory.
  2. You have to reinstall db2. After that, issue the following command:
  3. Db2 catalog db db_name on drive_name
  4. Where db_name is the database name, drive_name is where DB2 directory resides.

The above content is an introduction to how to restore data in the original database after DB2 is uninstalled. I hope you will have some gains.

The above content describes how to restore the data in the original database after DB2 is uninstalled, 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.