nsrdb2(8)

NAME
nsrdb2 - Legato NetWorker Module for DB2 command

SYNOPSIS
nsrdb2 <save options>

DESCRIPTION

This shell script is used by savegrp(8) to trigger backups on an DB2 database server in conjunction with the use of db2-backup, the backup interface provided by IBM. nsrdbm2 is normally only run by savegrp and not run manually. To use this command for scheduled backups, the client resource (see nsr_client(5)) should list nsrdb2 in the backup command attribute.

Users wishing to modify this command should use the template provided in /nsr/bin/nsrdb2.sh. Do not modify the template file so you always have a reference to the original behavior.

There are several configurable variables users can set in the command to control backups to the NetWorker server. Variable: PRECMD
Default value: NONE
Description: This variable can be used to run a command before dbspace and log file backups. If this command does not run successfully (in other words, if it returns a non-zero status), nsrdb2 will exit.
Variable: POSTCMD
Default value: NONE
Description: This variable can be used to run a command after dbspace and log file backups have completed. This command is not run if onbar returns a non-zero exit code. Variable: NSR_DATA_VOLUME_POOL
Default value: DBMIData
Description: If this variable is set to name a media pool, then dbspace backups will be directed to the given media pool. Variable: NSR_LOG_VOLUME_POOL
Default value: DBMILogs
Description: If this variable is set to name a media pool, then logfile backups will be directed to the named media pool. Variable: NSR_COMPRESSION
Default value: FALSE
Description: This environment variable determines if compression is performed on the data. The default value is "FALSE" indicating no compression should take place. Set this value to "TRUE" to turn on client-side compression. Variable: PATH
Default value: $INFORMIXDIR/bin:/bin:/usr/sbin
Description: Set up PATH environment variable. This must be configured to include the path to the onbar executable and the NetWorker program mminfo(8).

The nsrdb2 command also backs up the emergency boot file and $ONCONFIG file using the save command. These files will be backed up to the same pool as the dbspace backups. If you wish to have these files sent to another pool, the shell script should be modified appropriately.

OPTIONS
Please see the save(8) man page for a description of options supported by nsrdb2.

FILES

/nsr/bin/nsrdb2.sh
    A template of this command is provided in /nsr/bin.

SEE ALSO
mminfo(8), nsr_client(5), nsr_pool(5), nwadmin(8), save(8), savegrp(8).