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 a DB2 database
- About adding backup selections to a DB2 policy
- About adding schedules to a NetBackup for DB2 policy
- 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
- About NetBackup for DB2 templates and shell scripts
- Performing backups and restores of DB2
- 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)
- 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
About backing up archive log files with the user exit program
You can configure the user exit program to back up the archive logs. The user exit program is db2uext2 (UNIX) or db2uext2.exe (Windows).
The backup can be configured in one of the following ways:
Save archive log files directly with NetBackup.
To back up archive log files in this way, configure an MS- Windows or Standard policy with a User Backup schedule.
Then specify the ARCFUNC SAVE keywords in the configuration file, db2.conf.
Copy archive log files to another directory for later backup by NetBackup.
To back up archive log files in this way, configure an MS- Windows or Standard policy with a User Archive schedule (this schedule is optional)
Specify the ARCFUNC COPY keywords in the db2.conf file.
You can coordinate the copy of the log files to a directory with a user archive. In this case, the user exit program copies the file to an archive directory. To free disk space, later you can perform a user archive to archive all the files in the ARCDIR directory.
Do not specify ARCFUNC SAVE or ARCFUNC COPY if the VENDOR DB2 configuration parameter is in effect. In environments with VENDOR in effect, NetBackup ignores the information that pertains to these commands.
Whether to specify ARCFUNC SAVE or ARCFUNC COPY depends on the amount of user intervention you intend to provide.
Determine which command to use, as follows:
If you specify ARCFUNC SAVE, NetBackup backs up the archive logs according to the policy and schedule you specify.
If DB2 later issues a ROLLFORWARD request, the user exit program looks for the archive logs on a backup volume. At restoration time, no user intervention is required. The sequential recovery can be slow if there are numerous, large log files.
If you specify ARCFUNC COPY, NetBackup copies the archive logs to the location that is specified on the ARCDIR statement in the db2.conf file.
The disk to which the archive logs are copied eventually fills with archived log files. Most users want to configure a user archive schedule so they can archive the entire ARCDIR directory to NetBackup volumes.
This method requires some user intervention during the recovery. Specifically, you must restore these files before the rollforward operation. Advanced users prefer this approach because of performance and flexibility benefits.
For information about how to restore files to disk, see the NetBackup Administrator's Guide, Volume I.