NetBackup Commands
353
bpexpdate
A
Changing the expiration can be done on a media ID basis or on an individual
backup ID basis. Changing the expiration date of a media ID also causes the
expiration date of all backups on the media to be changed.
bpexpdate
also
provides options to deassign media from the media database if they no longer
contain valid backups and to recalculate the expiration date based on the
configured or a supplied retention level.
The different formats of the command are described below.
• ev
Changes the expiration date or removes the media ID from the media
database and associated backups from the Netbackup database. A separate
expiration date is maintained in the image database for each copy of a
backup. When this format is used, only the expiration of the copy on the
media is affected. If the media ID is removed from the media database by
specifying a zero date, the media ID is also deassigned in the Media
Manager database.
• deassignempty
Searches the database for removable media that no longer contain valid
backups, removes it from the media database, and deassigns the media IDs
in the Media Manager database. The media is then available to be used
again. You can use the NetBackup Images on Media report to determine if
there are assigned media that no longer contain valid backups.
• backupid
Changes the expiration of a single backup. If the date is zero, the backup is
removed from the image database. If the backup is on removable media and
the expiration date given by the
-d
option is greater than the current
expiration of the media ID, the expiration date of the media ID in the media
database is also changed. The change affects all copies of a backup, unless
the
-copy
option is used. The
-copy
option causes only the specified copy
to be affected.
• recalculate
Allows the expiration date of backups to be changed based on the specified
retention level. See the NetBackup System Administrator’s Guide - Windows NT
Server for more information on retention levels. The expiration date is
calculated based on the creation date of the backup plus value of the
retention level. The expiration can be changed for a single backup, or it can
be changed for all backups for a particular client, class, or schedule type.
NetBackup 3.2 System Administrator's Guide for Windows NT
NetBackup 3.2 System Administrator's Guide for Windows NT