Performing NetBackup for DB2 backups with Snapshot Client methods
After configuration is complete, performing NetBackup for DB2 with Snapshot Client backups and restores is similar to conventional NetBackup for DB2 operations. The following sections describe some of the differences.
NetBackup for DB2 performs backups with Snapshot Client in the following ways:
User-directed, from the command line or the script as a DB2 user (with the bpdb2proxy command)
Server-directed, from an automatic schedule on the primary server
All of these methods require a DB2 policy with Snapshot Client configuration.
User-directed backups using bpdb2proxy | Use the bpdb2proxy command to perform a Snapshot Client backup of your DB2 database from the command line. You must be the DB2 user to use the bpdb2proxy command. For backups, specify the -backup option with bpdb2proxy. Use the bpdb2proxy command in the following format to back up a DB2 database with a Snapshot Client method: Windows:install_path\NetBackup\bin\bpdb2proxy -backup -d dbalias -u user -p password UNIX: /usr/openv/netbackup/bin/bpdb2proxy -backup -d dbalias -u user -p password |
Server-directed backups | The following describes the process for configuring policies for DB2 backups with Snapshot Client. These policies specify Snapshot Client backups for the DB2 database. |
More Information