DB2 Resotre usage tips, you have to read!

Source: Internet
Author: User

This article mainly tells you how to use DB2 Resotre when using TSM. The following article describes how to use DB2 Resotre when using TSM, if you are interested in the DB2 Resotre usage skills when using TSM, you can click to view the following articles.

1: query the time of all backups db2adutl query full database; 2: Restore according to the time queried: db2 restore database use TSM taken at WITHOUT PROMPTING

1: query the time of all backups

 
 
  1. db2adutl query full database 

2: Restore Based on the query time

Db2 restore database use TSM taken at WITHOUT PROMPTING

Note: without prompting can be used based on actual conditions.

3: confirm the Rollforward time and the required active_log.

 
 
  1. db2 list history backup since for 

Note: The Rollforward time here refers to the end time of Backup.

The end time found here is to be changed before rollforward can be used.

 
 
  1. 20091226023557 > 2009-12-26.02.35.57  
  2. exp:  
  3. db2 list history backup since 20091226 for sample  

4: Put active_log in archive pass from TSM

Dsmc restore-subdir = yes-pitdate = <backup time to be restored>

5: Perform Rollforward

Db2 "rollforward database to <at 3 confirmation time> using local time and complete"

6: perform database activity.

 
 
  1. db2 activate database 

The above content is an introduction to the DB2 Resotre usage skills when using TSM. I hope you will get some benefits.

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.