Veritas NetBackup™ for DB2 Administrator's Guide

Last Published:
Product(s): NetBackup (9.0.0.1, 9.0)
  1. Introduction to NetBackup for DB2
    1.  
      Features of NetBackup for DB2
    2. NetBackup for DB2 overview
      1.  
        About the NetBackup for DB2 components
      2.  
        About NetBackup for DB2 terminology
  2. Installing NetBackup for DB2
    1.  
      Planning the installation of NetBackup for DB2
    2. Verifying the operating system and platform compatibility
      1.  
        NetBackup server and client requirements
      2.  
        DB2 server software requirements
      3.  
        Requirements for using NetBackup for SAP MaxDB, SAP Oracle, and SAP HANA in a NetBackup cluster
    3.  
      About the license for NetBackup for DB2
    4. About log archiving
      1.  
        Using the VENDOR archive method
      2.  
        Using the user exit archive method
    5.  
      Specifying the DB2 home path (UNIX)
    6.  
      About adding new DB2 instances
  3. Configuring NetBackup for DB2
    1.  
      Overview of NetBackup for DB2 configuration
    2.  
      About permissions for NetBackup for DB2 log files (UNIX)
    3. About configuring a backup policy for DB2
      1.  
        Adding a NetBackup for DB2 policy
      2.  
        About policy attributes
      3.  
        Adding clients to a policy
      4.  
        Specifying the master server for a NetBackup for DB2 client
      5.  
        Configuring a policy to back up the configuration files
      6.  
        Configuring the Maximum jobs per client
    4. About adding backup selections to a DB2 policy
      1.  
        About backup schedules, templates, and scripts
      2.  
        Adding a template to the backup selections list in the NetBackup Administration Console
      3.  
        Adding a script to the backup selections list in the NetBackup Administration Console
    5.  
      Configuring an application backup schedule
    6.  
      Example application backup schedule
    7.  
      Configuring automatic backup schedules
    8.  
      Example automatic backup schedule
    9.  
      About schedule properties
    10.  
      NetBackup for DB2 backup types
    11.  
      Performing a manual backup
    12.  
      Reviewing the auto-discovered mappings in Host Management
    13. About backing up archive log files with the user exit program
      1.  
        DB2 objects in the backup window
      2.  
        Configuring a policy to back up the archive logs
      3.  
        Configuring a policy to archive the archive logs
    14. Configuring the run-time environment
      1. Creating a db2.conf file for use with the user exit program
        1.  
          Example db2.conf file using ARCFUNC SAVE
        2.  
          Example db2.conf file using ARCFUNC COPY
      2. Creating a db2.conf file (vendor method)
        1.  
          Example db2.conf file (vendor method)
      3. Configuring bp.conf files in a cluster environment
        1.  
          Configuring a master bp.conf file
        2.  
          Configuring a user bp.conf file
      4.  
        Keywords for the db2.conf file
      5.  
        NetBackup for DB2 environment variables
      6.  
        Configuring the logon account for the NetBackup Client Service for NetBackup for DB2
    15. About NetBackup for DB2 templates and shell scripts
      1.  
        Specifying the NetBackup master server from the client
      2.  
        Creating a backup template using the NetBackup for DB2 backup wizard
      3.  
        Creating shell scripts using bpdbsbdb2
      4. Creating DB2 scripts manually
        1.  
          Modifying DB2 backup and install scripts
        2.  
          Script parameters
      5.  
        About NetBackup template and shell script storage
  4. Performing backups and restores of DB2
    1.  
      NetBackup for DB2 backup overview
    2.  
      About backups from the NetBackup master server
    3. About user-directed backups
      1.  
        Using the DB2 template administration interface to run a user-directed backup
      2.  
        Using bpdbsbdb2 to run a user-directed backup
      3.  
        Using DB2 to run a user-directed backup
      4.  
        BACKUP DATABASE command options
    4.  
      Using the Backup, Archive, and Restore interface to browse DB2 resources
    5.  
      About browsing DB2 backup images with bplist
    6. Performing a database restore
      1. Using the NetBackup for DB2 recovery wizard
        1.  
          Selecting files for restore
        2.  
          Using the recovery wizard
        3.  
          Using bpdbsbdb2 for a database restore
      2. Using DB2 to perform a restore
        1.  
          Recovering a DB2 database - Simplest case
        2.  
          Recovering a DB2 database - Restoring archive logs
        3.  
          RESTORE DATABASE command options
    7. About an alternate restore
      1.  
        Preparing the master server for an alternate restore
      2.  
        Performing the alternate restore on the clients
      3.  
        Restoring the transaction logs
  5. Using Snapshot Client with NetBackup for DB2
    1.  
      NetBackup for DB2 with Snapshot Client features
    2. About NetBackup for DB2 with Snapshot Client operations
      1.  
        About the sequence of a NetBackup for DB2 backup operation with Snapshot Client methods
      2.  
        About the sequence of a NetBackup for DB2 restore operation with Snapshot Client methods
      3.  
        About database objects supported by advanced backup methods
      4.  
        About multistreaming and DB2 snapshot backups
      5.  
        About symbolic links and DB2 backups and restores (UNIX)
      6.  
        NetBackup for DB2 stream-based operations
      7.  
        NetBackup for DB2 file-based operations
      8.  
        Example: multiple sessions for a DB2 snapshot backup
    3.  
      About configuring Snapshot Client with NetBackup for DB2
    4.  
      Configuration requirements for snapshot backups with NetBackup for DB2
    5.  
      Configuring a snapshot policy for NetBackup for DB2
    6.  
      About configuring the db2.conf for a snapshot policy
    7. Restoring NetBackup for DB2 from a snapshot backup
      1.  
        About restoring individual files from a NetBackup for DB2 snapshot backup
      2.  
        About NetBackup for DB2 restores of volumes and file systems using snapshot rollback
      3.  
        Performing a NetBackup for DB2 point-in-time rollback restore from a SnapVault backup (UNIX)
      4.  
        Performing a snapshot rollback restore from the Java or Windows interface
      5.  
        Performing a snapshot rollback restore from the command line
      6.  
        Troubleshooting NetBackup for DB2 rollback restores
    8. About configuring NetBackup for DB2 block-level incremental backups on UNIX
      1.  
        How BLI works with NetBackup for DB2 (UNIX)
      2.  
        About the Storage Checkpoint facility and NetBackup for DB2
      3.  
        Configuration requirements for BLI backups with NetBackup for DB2
      4.  
        Storage Checkpoint configuration on the NetBackup for DB2 client
      5. Configuring policies for BLI backups with NetBackup for DB2
        1.  
          About the types of NetBackup for DB2 BLI backups
      6.  
        BLI incremental backup options using NetBackup for DB2
    9. About Snapshot Client effects
      1.  
        How Snapshot Client software affects backup types
      2.  
        How Snapshot Client software affects schedule properties
      3.  
        How Snapshot Client software affects templates and scripts
    10.  
      Performing NetBackup for DB2 backups with Snapshot Client methods
    11.  
      Performing NetBackup for DB2 restores with Snapshot Client methods
  6. Troubleshooting NetBackup for DB2
    1.  
      NetBackup debug logs and reports
    2.  
      Enabling the debug logs for a NetBackup for DB2 client automatically (Windows)
    3.  
      Enabling the debug logs manually (Windows)
    4.  
      Enabling the debug logs manually (UNIX)
    5. About the NetBackup for DB2 log files
      1.  
        About the bphdb directory on the Windows database client
      2.  
        About the bphdb directory on the UNIX database client
      3.  
        About the bpdb2 directory on the UNIX database client
      4.  
        About the bpdbsbdb2 directory on the client
    6.  
      Setting the debug level on a Windows client
    7.  
      Setting the debug level on a UNIX client
    8.  
      About NetBackup server reports
    9.  
      Minimizing timeout failures on large database restores
    10.  
      Minimizing the loading and unloading of tapes for database backups
    11.  
      Use the NET_BUFFER_SZ file to speed up a slow restore
    12.  
      About false restore failures reported in the activity monitor
    13.  
      About the error message codes
    14.  
      Delays in completion of backup jobs
  7. Appendix A. Configuration for a DB2 EEE (DPF) environment
    1.  
      Overview of installation and configuration for a DB2 EEE (DPF) environment
    2.  
      Configuring NetBackup for DB2 in an EEE environment
    3.  
      Adding NetBackup policies for DB2 EEE environment
    4.  
      Backing up archive logs in a DB2 EEE environment
    5.  
      Creating DB2 templates or scripts for a DB2 EEE environment
  8. Appendix B. Using NetBackup for DB2 with SAP®
    1.  
      About NetBackup for DB2 with SAP
    2.  
      Installation of the DB2 user exit program
    3.  
      Backup and restore of DB2 databases used by SAP
    4.  
      Archive and restore of DB2 log files used by SAP
    5.  
      Backup of SAP files
  9. Appendix C. Register authorized locations
    1.  
      Registering authorized locations used by a NetBackup database script-based policy
  10.  
    Index

A

application backup schedule
configuring, Configuring an application backup schedule
overview, Configuring an application backup schedule
retention, Example application backup schedule
Application Backup schedule
environment variables, NetBackup for DB2 environment variables
for block level incremental backups, Configuring policies for BLI backups with NetBackup for DB2
overview, NetBackup for DB2 backup types
with Snapshot Client, About configuring Snapshot Client with NetBackup for DB2
Approving the auto-discovered mappings in Host Management, Reviewing the auto-discovered mappings in Host Management
ARCDIR keyword, Keywords for the db2.conf file
ARCFUNC COPY keyword, Example db2.conf file using ARCFUNC COPY, Keywords for the db2.conf file
ARCFUNC SAVE keyword, Example db2.conf file using ARCFUNC SAVE, Keywords for the db2.conf file
ARCHIVE LOG command, About the NetBackup for DB2 components
archive logs
backing up, About log archiving, NetBackup for DB2 backup overview
configuring policies, Configuring a policy to back up the archive logs
keywords for backing up in db2.conf, About backing up archive log files with the user exit program
overview, About NetBackup for DB2 terminology
restoring, Recovering a DB2 database - Restoring archive logs
restoring from a raw partition, Keywords for the db2.conf file
automatic backup
configure scripts, Creating DB2 scripts manually
create scripts, Creating DB2 scripts manually
overview, About backups from the NetBackup master server
policy, About backups from the NetBackup master server
using scripts, About backups from the NetBackup master server
automatic backup schedules
configuring, Configuring automatic backup schedules
Automatic Cumulative Incremental Backup schedule
overview, NetBackup for DB2 backup types
Snapshot Client effects, How Snapshot Client software affects backup types
Automatic Differential Incremental Backup schedule
overview, NetBackup for DB2 backup types
Snapshot Client effects, How Snapshot Client software affects backup types
Automatic Full Backup schedule, Example automatic backup schedule
overview, NetBackup for DB2 backup types
Snapshot Client effects, How Snapshot Client software affects backup types
with Snapshot Client, About configuring Snapshot Client with NetBackup for DB2

B

backup
archive log, NetBackup for DB2 backup overview
automatic, Performing a manual backup
database, NetBackup for DB2 backup overview
manual, Performing a manual backup, About backups from the NetBackup master server
partitions, About backups from the NetBackup master server
tablespaces, About backups from the NetBackup master server
with Snapshot Client methods, About the sequence of a NetBackup for DB2 backup operation with Snapshot Client methods , Performing NetBackup for DB2 backups with Snapshot Client methods
wizard, Creating a backup template using the NetBackup for DB2 backup wizard, How Snapshot Client software affects templates and scripts
Backup Archive and Restore interface, Using the Backup, Archive, and Restore interface to browse DB2 resources
BACKUP command, About the NetBackup for DB2 components
BACKUP DATABASE command, NetBackup for DB2 overview, NetBackup for DB2 backup overview, Using DB2 to run a user-directed backup, BACKUP DATABASE command options
backup media required, NetBackup server and client requirements
Backup Selections list
adding scripts, Adding a script to the backup selections list in the NetBackup Administration Console
adding selections, Adding a template to the backup selections list in the NetBackup Administration Console
adding templates, Adding a template to the backup selections list in the NetBackup Administration Console
overview, About adding backup selections to a DB2 policy
block level incremental backup
client-initiated
using environment variables, BLI incremental backup options using NetBackup for DB2
using multiple db2.conf files, BLI incremental backup options using NetBackup for DB2
configuring, Configuring policies for BLI backups with NetBackup for DB2
initiating, BLI incremental backup options using NetBackup for DB2
overview, About configuring NetBackup for DB2 block-level incremental backups on UNIX
server-initiated, BLI incremental backup options using NetBackup for DB2
bp.conf
client file, Configuring a master bp.conf file
DB2 script parameters, Script parameters
in a cluster, Configuring bp.conf files in a cluster environment
user file, Configuring a user bp.conf file
variables, Script parameters
bpdb2proxy command, Performing a snapshot rollback restore from the command line, Performing NetBackup for DB2 backups with Snapshot Client methods
bpdbsbdb2
command syntax, Using bpdbsbdb2 to run a user-directed backup
running a backup template, Using bpdbsbdb2 to run a user-directed backup
running a recovery template, Using bpdbsbdb2 for a database restore
bpdbsbdb2 command, Creating shell scripts using bpdbsbdb2
bphdb log
UNIX, About the bphdb directory on the UNIX database client
Windows, About the bphdb directory on the Windows database client
bplist command, About browsing DB2 backup images with bplist
browse for restore
using bplist, About browsing DB2 backup images with bplist

C

CLIENT NAME variable, Configuring a master bp.conf file
client read timeout property, Minimizing timeout failures on large database restores
clients list, for backup policies, Adding clients to a policy
cluster
bp.conf file, Configuring bp.conf files in a cluster environment
storing templates and scripts, About NetBackup template and shell script storage
commands
ARCHIVE LOG, About the NetBackup for DB2 components
BACKUP, About the NetBackup for DB2 components
BACKUP DATABASE, NetBackup for DB2 overview, NetBackup for DB2 backup overview, Using DB2 to run a user-directed backup, BACKUP DATABASE command options
bpdb2proxy, NetBackup for DB2 with Snapshot Client features, Performing a snapshot rollback restore from the command line, Performing NetBackup for DB2 backups with Snapshot Client methods
bpdbsbdb2, Creating shell scripts using bpdbsbdb2, Using bpdbsbdb2 to run a user-directed backup, Using bpdbsbdb2 for a database restore
bplist, About browsing DB2 backup images with bplist
DISCONNECT, About the NetBackup for DB2 components
QUIESCE, Creating shell scripts using bpdbsbdb2
RECOVER DATABASE, NetBackup for DB2 overview
RESTORE DATABASE, NetBackup for DB2 overview, RESTORE DATABASE command options
ROLLFORWARD, About the NetBackup for DB2 components
ROLLFORWARD DATABASE, NetBackup for DB2 overview, About backing up archive log files with the user exit program
TERMINATE, About the NetBackup for DB2 components
compatibility information, Verifying the operating system and platform compatibility
configuration
database user authentication, Configuring the logon account for the NetBackup Client Service for NetBackup for DB2
files
policies for backing up, Configuring a policy to back up the configuration files, NetBackup for DB2 backup overview

D

DATABASE keyword, Keywords for the db2.conf file
DB2
home path, Specifying the DB2 home path (UNIX)
DB2 DPF environment
configuration procedure, Overview of installation and configuration for a DB2 EEE (DPF) environment
DB2 EEE environment
configuration procedure, Overview of installation and configuration for a DB2 EEE (DPF) environment
db2.conf
creating, Creating a db2.conf file for use with the user exit program, Creating a db2.conf file (vendor method)
keywords, Creating a db2.conf file for use with the user exit program, Creating a db2.conf file (vendor method), Keywords for the db2.conf file
object identifiers, Creating a db2.conf file for use with the user exit program, Creating a db2.conf file (vendor method)
overview, NetBackup for DB2 overview, About the NetBackup for DB2 components
variables, Script parameters
db2_all_backup_mpp example script, Creating DB2 scripts manually
db2_all_restore_mpp example script, Creating DB2 scripts manually
db2_backup example script, Creating DB2 scripts manually
db2_backup_db_offline.cmd example script, Creating DB2 scripts manually
db2_backup_db_online.cmd example script, Creating DB2 scripts manually
db2_mpp_backup_offline.cmd example script, Creating DB2 scripts manually
db2_mpp_restore_db.cmd example script, Creating DB2 scripts manually
db2_restore example script, Creating DB2 scripts manually
db2_restore_db.cmd example script, Creating DB2 scripts manually
DB2NODE variable, Creating shell scripts using bpdbsbdb2
db2uext2
see user exit program, NetBackup for DB2 overview
debug logs
accessing, About the NetBackup for DB2 log files
debug level, Setting the debug level on a Windows client
enabling, NetBackup debug logs and reports, Enabling the debug logs for a NetBackup for DB2 client automatically (Windows)
troubleshooting with log files, NetBackup debug logs and reports
UNIX, Enabling the debug logs manually (UNIX)
Windows, Enabling the debug logs manually (Windows)
DESTALIAS keyword, Keywords for the db2.conf file
DESTINST keyword, Keywords for the db2.conf file
DISCONNECT command, About the NetBackup for DB2 components

O

OBJECTTYPE ALTERNATE keyword, Keywords for the db2.conf file
OBJECTTYPE ARCHIVE keyword, Keywords for the db2.conf file
OBJECTTYPE DATABASE keyword, Keywords for the db2.conf file
OBJECTTYPE TABLESPACE keyword, Keywords for the db2.conf file
offhost backup (see Snapshot Client)
configuring, Configuring a snapshot policy for NetBackup for DB2
overview, NetBackup for DB2 with Snapshot Client features
optimizing file restores, Use the NET_BUFFER_SZ file to speed up a slow restore

R

raw partitions, Recovering a DB2 database - Restoring archive logs
reason codes, About the error message codes
RECOVER DATABASE command, NetBackup for DB2 overview
Recovery Wizard
also see wizard, Using the NetBackup for DB2 recovery wizard
overview, Using the NetBackup for DB2 recovery wizard
use with Snapshot Client, How Snapshot Client software affects templates and scripts
reports, NetBackup debug logs and reports
(see also debug logs)
All Log Entries report, About NetBackup server reports
All Logs Entries, NetBackup debug logs and reports
NetBackup server reports, About NetBackup server reports
restore
Point-in-time rollback, About NetBackup for DB2 restores of volumes and file systems using snapshot rollback
snapshot rollback, About NetBackup for DB2 restores of volumes and file systems using snapshot rollback
with Snapshot Client methods, About NetBackup for DB2 restores of volumes and file systems using snapshot rollback
RESTORE DATABASE command, NetBackup for DB2 overview, RESTORE DATABASE command options
restores
snapshot rollback, Performing a snapshot rollback restore from the command line
using DB2, Using DB2 to perform a restore
with Snapshot Client methods, About the sequence of a NetBackup for DB2 restore operation with Snapshot Client methods, Troubleshooting NetBackup for DB2 rollback restores, Performing NetBackup for DB2 restores with Snapshot Client methods
RETDIR keyword, Keywords for the db2.conf file
retention period
for Snapshot Client, How Snapshot Client software affects schedule properties
ROLLFORWARD command, About the NetBackup for DB2 components
ROLLFORWARD DATABASE command, NetBackup for DB2 overview, About backing up archive log files with the user exit program

S

SAP
using NetBackup for DB2 with, About NetBackup for DB2 with SAP
SCHEDULE keyword, Keywords for the db2.conf file
schedules
automatic backup, About backups from the NetBackup master server
frequency, About schedule properties
properties, About schedule properties
properties for Snapshot Client, How Snapshot Client software affects schedule properties
retention for Snapshot Client, How Snapshot Client software affects schedule properties
scripts
cautions for using, About backup schedules, templates, and scripts, Creating DB2 scripts manually
creating, About NetBackup for DB2 templates and shell scripts, Creating shell scripts using bpdbsbdb2
creating from templates, Creating shell scripts using bpdbsbdb2
creating manually, Creating DB2 scripts manually
errors in executing, Creating DB2 scripts manually
example backup scripts, Creating DB2 scripts manually
example restore scripts, Creating DB2 scripts manually
examples, About the NetBackup for DB2 components, Creating DB2 scripts manually
modifying, Modifying DB2 backup and install scripts
overview, About NetBackup for DB2 templates and shell scripts
parameters, Script parameters
scheduler, About backups from the NetBackup master server
type of operation, Creating DB2 scripts manually
server-directed backups, Performing NetBackup for DB2 backups with Snapshot Client methods
snapshot backup, NetBackup for DB2 with Snapshot Client features, About configuring Snapshot Client with NetBackup for DB2, About NetBackup for DB2 restores of volumes and file systems using snapshot rollback
configuration requirements, Configuration requirements for snapshot backups with NetBackup for DB2
configure db2.conf, About configuring the db2.conf for a snapshot policy
database objects included, About configuring Snapshot Client with NetBackup for DB2
policy configuration, About configuring Snapshot Client with NetBackup for DB2
restore method, About restoring individual files from a NetBackup for DB2 snapshot backup
Snapshot Client
configuring policies, About configuring Snapshot Client with NetBackup for DB2
effects on backups and restores, Performing NetBackup for DB2 backups with Snapshot Client methods
effects on policies and schedules, About Snapshot Client effects
file-based operations, NetBackup for DB2 file-based operations
overview, NetBackup for DB2 with Snapshot Client features
proxy operations, NetBackup for DB2 with Snapshot Client features
stream-based operations, NetBackup for DB2 stream-based operations
theory of operations, About NetBackup for DB2 with Snapshot Client operations
snapshot rollback, About NetBackup for DB2 restores of volumes and file systems using snapshot rollback, Performing a snapshot rollback restore from the command line
SnapVault, Performing a NetBackup for DB2 point-in-time rollback restore from a SnapVault backup (UNIX)
SRCALIAS keyword, Keywords for the db2.conf file
SRCINST keyword, Keywords for the db2.conf file
Storage Checkpoint, About the Storage Checkpoint facility and NetBackup for DB2
stream-based operations, NetBackup for DB2 stream-based operations