11-17-2010 02:40 PM
I have some brick level Exchange backups that need to have the retention period changed. They are currently set at 1 yr. retention and they need to be change to infinite retention.
I've seen articles that mention the bpexpdat command but they also reference the backup id. I don't know what the backup id is for those brick level backups. I just see the date that they ran in the "Backup, Archive and Restore" window.
Am I going down the right path with the bpexpdat command?
I'm running NetBackup 6.0 mp6 on Windows 2003
Solved! Go to Solution.
11-17-2010 03:31 PM
don't know if you prefer gui or cli
in gui go to reports
tape reports
images on media
put in your media id if you know that and it will give you the backup id.
-----------
or
reports
Client Reports
put in your server name
and set the date/time range you are looking for
Make sure you add the column Backup__ID
run the report
11-17-2010 03:31 PM
don't know if you prefer gui or cli
in gui go to reports
tape reports
images on media
put in your media id if you know that and it will give you the backup id.
-----------
or
reports
Client Reports
put in your server name
and set the date/time range you are looking for
Make sure you add the column Backup__ID
run the report
11-17-2010 08:36 PM
Hi,
You can use this command to retrieve the backup id (example)
bpimagelist -policy policy_name -d 12/31/2001 -e 06/30/2002 -idonly
Once you have the id you can use bpexpdate to change the expiration to a specific day, or give it a new retention level.
11-18-2010 11:55 AM
Thank you for your replies. I'm glad to know that bpexpdate is the right command.
Would the syntax of the command be:
bpexpdate -recalculate -backupid (backupid) -ret 9
That would change the backups with the matching backupid to an infinite retention.
Correct?
11-18-2010 12:06 PM
that should do it.
Do one, and then check that it has done what you expect it to do.
Meaning if you look at that media id or backup id again it should be showing the new expiration date.
11-18-2010 02:18 PM
Thanks, I'll get a test tape and try it on that tomorrow and let you know.
11-24-2010 10:46 AM
Thanks, that worked.