DB2 database backup example classic edition

Source: Internet
Author: User

Today we will introduce you to the DB2 database backup example. If you are interested in the DB2 database backup example, you can click the following article to view it, the following is a detailed description of the relevant content, hoping to help you in this regard.

Database, example database, Example

Example 1

In the following example, the database SAMPLE is backed up to the TSM server that uses two concurrent TSM client sessions. The backup utility calculates the optimum number of buffers. The optimal buffer size is calculated based on the memory size and the number of available target devices. The value is 4 KB ). You can also automatically calculate the concurrency settings based on the number of available processors and the number of tablespaces to be backed up.

 
 
  1. db2 backup database sample use tsm open 2 sessions with 4 buffers  
  2. db2 backup database payroll tablespace (syscatspace, userspace1) to  
  3. /dev/rmt0, /dev/rmt1 with 8 buffers without prompting  

Example 2

The following is a sample of the weekly Incremental backup policy for recoverable databases. Includes a weekly full DB2 database backup operation, a daily non-cumulative difference) backup operation, and a cumulative increment in the middle of the week) backup operation:

 
 
  1. (Sun) db2 backup db kdr use tsm  
  2. (Mon) db2 backup db kdr online incremental delta use tsm  
  3. (Tue) db2 backup db kdr online incremental delta use tsm  
  4. (Wed) db2 backup db kdr online incremental use tsm  
  5. (Thu) db2 backup db kdr online incremental delta use tsm  
  6. (Fri) db2 backup db kdr online incremental delta use tsm  
  7. (Sat) db2 backup db kdr online incremental use tsm 

Example 3

In Windows®Start the backup operation on the tape device in the environment and issue the following:

 
 
  1. db2 backup database sample to \\.\tape0  

The above content is an introduction to the DB2 database backup example. I hope you will find some gains.

The above content is a description of the DB2 database backup example, 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.