NetBackup™ for DB2 Administrator's Guide
- Introduction to NetBackup for DB2
- Installing NetBackup for DB2
- Configuring NetBackup for DB2
- About configuring a backup policy for DB2
- About adding backup selections to a DB2 policy
- 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
- About NetBackup for DB2 shell scripts
- Performing backups and restores of DB2
- Using Snapshot Client with NetBackup for DB2
- About NetBackup for DB2 with Snapshot Client operations
- Restoring NetBackup for DB2 from a snapshot backup
- About configuring NetBackup for DB2 block-level incremental backups on UNIX
- Configuring policies for BLI backups with NetBackup for DB2
- About Snapshot Client effects
- Troubleshooting NetBackup for DB2
- About the NetBackup for DB2 log files
- Appendix A. Configuration for a DB2 EEE (DPF) environment
- Appendix B. Using NetBackup for DB2 with SAP®
- Appendix C. Register authorized locations
Preparing the primary server for an alternate restore
The examples in the following procedure assume that database SAMPLE was backed up by client2, and you want to restore SAMPLE to client1.
For more information on how to manage client restores, see the NetBackup Administrator's Guide, Volume I.
If you use a non-root service user account, specific access must be allowed for that user when you add files to the /usr/openv/netbackup/db/altnames
directory. The service user account must have full access to these files through the ownership or group and the permissions. For example, if the service user is svcname
and its group is srvgrp
, the file can have permissions of 400
. If the file owner is for a different user and group, the file permissions must allow access to the service user. For example, 777
. Equivalent permission settings must be used in a Windows environment.
To prepare the NetBackup primary server for alternate restores
- Log on to the NetBackup primary server that hosts the policy that backed up database SAMPLE.
- Where dest_client_name is the name of a client that is allowed to be a destination client for alternate restores. For example, client1.
Create a dest_client_name file on the NetBackup primary server.
Windows: install_path\NetBackup\db\altnames\dest_client_name
UNIX: /usr/openv/netbackup/db/altnames/dest_client_name
- After creating a dest_client_name file, add the name of the NetBackup for DB2 source client to the dest_client_name file. For example, add the following line to this file:
client2
For more information on managing a client restore, see the NetBackup Administrator's Guide, Volume I.