NetBackup Commands
357
bpexpdate
A
If the command is executed on a master server, then that server is
the default.
If the command is executed on a slave server, then the master for
that slave is the default.
NOTES
Some options in large environments can take a significant amount of time to
complete. Changes that cause backups or media to expire are irrevocable;
importing backups and (or) recovering previous versions of the databases can
be required if mistakes are made using this command.
The
bpexpdate
command itself does not necessarily make modifications to
the databases. Therefore, aborting the command will not produce the desired
or expected result.
EXAMPLES
Example 1
The following command, executed on the master server, removes media ID
BU0002 from the media database, and deassigns the media ID in the Media
Manager database. It also expires associated image records in the image
database.
bpexpdate -ev BU0002 -d 0
Example 2
The following command (all on one line) changes the expiration of copy 2 of
backupid classA_0904219764_FULL. The expiration of copy 1 of the backup is
not affected.
bpexpdate -backupid classA_0904219764_FULL -d 12/20/99
08:00:00 -copy 2
Example 3
The following command removes the backup from the image database. Since
the
-copy
option is not specified, all copies are removed.
bpexpdate -backupid classA_0904219764_FULL -d 0
Example 4
NetBackup 3.2 System Administrator's Guide for Windows NT
NetBackup 3.2 System Administrator's Guide for Windows NT