Veritas NetBackup™ for DB2 Administrator's Guide
- Introduction to NetBackup for DB2
- Installing NetBackup for DB2
- Configuring NetBackup for DB2
- Overview of NetBackup for DB2 configuration
- About permissions for NetBackup for DB2 log files (UNIX)
- About configuring a backup policy for DB2
- About adding backup selections to a DB2 policy
- Configuring an application backup schedule
- Example application backup schedule
- Configuring automatic backup schedules
- Example automatic backup schedule
- About schedule properties
- NetBackup for DB2 backup types
- Performing a manual backup
- Reviewing the auto-discovered mappings in Host Management
- About backing up archive log files with the user exit program
- Configuring the run-time environment
- Creating a db2.conf file for use with the user exit program
- Creating a db2.conf file (vendor method)
- Configuring bp.conf files in a cluster environment
- Keywords for the db2.conf file
- NetBackup for DB2 environment variables
- Configuring the logon account for the NetBackup Client Service for NetBackup for DB2
- About NetBackup for DB2 templates and shell scripts
- Performing backups and restores of DB2
- NetBackup for DB2 backup overview
- About backups from the NetBackup master server
- About user-directed backups
- Using the Backup, Archive, and Restore interface to browse DB2 resources
- About browsing DB2 backup images with bplist
- Performing a database restore
- About an alternate restore
- Using Snapshot Client with NetBackup for DB2
- NetBackup for DB2 with Snapshot Client features
- About NetBackup for DB2 with Snapshot Client operations
- About the sequence of a NetBackup for DB2 backup operation with Snapshot Client methods
- About the sequence of a NetBackup for DB2 restore operation with Snapshot Client methods
- About database objects supported by advanced backup methods
- About multistreaming and DB2 snapshot backups
- About symbolic links and DB2 backups and restores (UNIX)
- NetBackup for DB2 stream-based operations
- NetBackup for DB2 file-based operations
- Example: multiple sessions for a DB2 snapshot backup
- About configuring Snapshot Client with NetBackup for DB2
- Configuration requirements for snapshot backups with NetBackup for DB2
- Configuring a snapshot policy for NetBackup for DB2
- About configuring the db2.conf for a snapshot policy
- Restoring NetBackup for DB2 from a snapshot backup
- About restoring individual files from a NetBackup for DB2 snapshot backup
- About NetBackup for DB2 restores of volumes and file systems using snapshot rollback
- Performing a NetBackup for DB2 point-in-time rollback restore from a SnapVault backup (UNIX)
- Performing a snapshot rollback restore from the Java or Windows interface
- Performing a snapshot rollback restore from the command line
- Troubleshooting NetBackup for DB2 rollback restores
- About configuring NetBackup for DB2 block-level incremental backups on UNIX
- How BLI works with NetBackup for DB2 (UNIX)
- About the Storage Checkpoint facility and NetBackup for DB2
- Configuration requirements for BLI backups with NetBackup for DB2
- Storage Checkpoint configuration on the NetBackup for DB2 client
- Configuring policies for BLI backups with NetBackup for DB2
- BLI incremental backup options using NetBackup for DB2
- About Snapshot Client effects
- Performing NetBackup for DB2 backups with Snapshot Client methods
- Performing NetBackup for DB2 restores with Snapshot Client methods
- Troubleshooting NetBackup for DB2
- NetBackup debug logs and reports
- Enabling the debug logs for a NetBackup for DB2 client automatically (Windows)
- Enabling the debug logs manually (Windows)
- Enabling the debug logs manually (UNIX)
- About the NetBackup for DB2 log files
- Setting the debug level on a Windows client
- Setting the debug level on a UNIX client
- About NetBackup server reports
- Minimizing timeout failures on large database restores
- Minimizing the loading and unloading of tapes for database backups
- Use the NET_BUFFER_SZ file to speed up a slow restore
- About false restore failures reported in the activity monitor
- About the error message codes
- Delays in completion of backup jobs
- Appendix A. Configuration for a DB2 EEE (DPF) environment
- Appendix B. Using NetBackup for DB2 with SAP®
- Appendix C. Register authorized locations
- Index
Configuring a snapshot policy for NetBackup for DB2
The following procedure shows how to configure a snapshot policy with optional instant recovery, snapshot retention, and off-host backup.
To configure a snapshot policy
- Open the policy you want to configure.
- Click on the Attributes tab.
- Select the DB2 policy type.
- Select a policy storage unit from the Policy storage list.
Select a policy storage unit in this step even if you plan to select Snapshots only later in this procedure.
- Click Perform snapshot backups.
- (Optional) Click Options to choose a snapshot method.
By default NetBackup chooses a snapshot method for you. To choose a snapshot method, click auto (the default) or click one of the methods that are presented in the list.
The snapshot method that you can use depends on your hardware environment and software environment. Only certain snapshot methods are supported in certain environments. See the NetBackup Snapshot Client Administrator's Guide or the supported platforms matrix on the Veritas Support website for more information.
You can configure only one snapshot method per policy. For example, assume that you want one snapshot method for clients a, b, and c, and a different method for clients d, e, and f. Then you need to create two policies for each group of clients and select one method for each policy.
- (Optional) Select Retain snapshots for Instant Recovery or SLP management.
When this option is selected, NetBackup retains the snapshot backup image on disk for later use in recovery.
- (Optional) Select Perform off-host backup.
By default, the client that hosts the database performs the backup. If you want to reduce the I/O processing load on the client that hosts the database, specify an alternate client to perform the backup.
- (Conditional) Select the Alternate client off-host backup method.
Specify the name of the client to perform the backup. This option may require additional configuration. The alternate client must be a client that shares the disk array.
- Click the Schedules tab.
- Click New.
- Configure an Automatic schedule for the database files.
- (Conditional) In the Schedules dialog box, in the Instant Recovery group, select Snapshots only.
This setting suppresses NetBackup's default behavior, which is to copy the snapshot to a storage unit. When you select Snapshots only, NetBackup creates the on-disk snapshot copy of the database, but it does not copy the snapshot to a storage unit. The on-disk snapshot becomes the only backup copy. Note that the on-disk snapshot is not considered to be a replacement for a traditional backup.
- Configure an Application Backup schedule.
NetBackup uses this storage unit for the initial stream-based backup of the database before subsequent snapshot backups are performed. It is also used for stream-based backups of the transaction logs if you use the VENDOR method.
- (Conditional) For BLI backups it is permissible to create Automatic Cumulative Incremental and Automatic Differential Incremental backup schedules.
- On the Clients tab, specify the clients to be included in this policy.
- On the Backup Selections tab, specify a template or a backup script.
More information is available about how to use templates and scripts for a NetBackup for DB2 policy with Snapshot Client.
- Configure other attributes and add any additional schedules and backup selections.