Showing results for 
Search instead for 
Did you mean: 

vmchange and bpexpdate

Level 2
I would like to expire media VOL01 to the current date and time.
What is real difference (in NB 6.0) between commands:
vmchange -exp 0 -m VOL01 and
bpexpdate -m VOL01 -d 0 ?

Level 6
In previous versions it was recommended to use bpexpdate to keep all of netbackup's databases in sync. (At least that's what I remember ... could be wrong though.)

Level 6
vmchange command changes volume information in the Enterprise Media Manager database. Expiration option with vmchange tells EMM that this volume is now expired, which means it can not be used further. Expiration with vmchange will not expire the images and release the media.

bpexpdate - NetBackup maintains internal databases with backup image and media information.
These internal databases are called catalogs. Both an image record in the image catalog
and a media ID in the media catalog contain an expiration date. The expiration date is the
date and time when NetBackup removes the record for a backup or media ID from the
corresponding catalog.
The bpexpdate command allows the expiration date and time of backups to be changed
in the NetBackup image catalog. It is also used to change the expiration of removable
media in the NetBackup media catalog. If the date is set to zero, bpexpdate immediately
expires backups from the image catalog or media from the media catalog. When a media
ID is removed from the NetBackup media catalog, it is also deassigned in the Enterprise
Media Manager Database, regardless of the media's prior state (FROZEN, SUSPENDED,
and so on).
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.