01-24-06 10:52 PM
Stuart wrote:
> hi - wonder if you can help - using netbackup 6, and need to know how
> to expire images / media before their retention time is up. There a
> couple of bpcommands to use - not sure which is the correct one is
>
> looking for bp command to use, and correct syntax
Hi Stuart,
You're on the wrong list for this. Try the veritas-bu mailing list at
http://mailman.eng.auburn.edu/mailm...info/veritas-bu
Anyway, the correct command (at least in NetBackup 5) is bpexpdate.
They key thing to remember is that you typically want to expire
*images*, not *tapes*.
To expire all the images for client foo that were written in January
last year, I would use this:
# bpimagelist -U -d 01/01/2005 -e 02/01/2005 -client foo -L | grep
'Backup ID'
To expire those images, use this format (substituting the backupid from
the report above):
# bpexpdate -backupid foo_0904219764 -d 02/20/2006
Cheers,
../Ed
[ Post a follow-up to this message ]
|