DB2 Resotre skills for use in TSM

Source: Internet
Author: User

Today we are going to discuss with you how to use DB2 Resotre when using TSM. If you are curious about the usage skills of DB2 Resotre when using TSM, the following articles will unveil its secrets. The following is a detailed description of the article. I hope you can learn from it.

1: query the time of all backups

 
 
  1. db2adutl query full database 

2: Restore Based on the query time

 
 
  1. 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

 
 
  1. Dsmc restore-subdir = yes-pitdate = <要恢复的备份时间>

5: Perform Rollforward

Db2 "rollforward database <在3确认的时间> 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.