cancel
Showing results for 
Search instead for 
Did you mean: 

Changing retention level on exisiting backups

Sem
Level 3

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

1 ACCEPTED SOLUTION

Accepted Solutions

J_H_Is_gone
Level 6

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

View solution in original post

6 REPLIES 6

J_H_Is_gone
Level 6

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

RiaanBadenhorst
Moderator
Moderator
Partner    VIP    Accredited Certified

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.

Sem
Level 3

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?

J_H_Is_gone
Level 6

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.

Sem
Level 3

Thanks, I'll get a test tape and try it on that tomorrow and let you know.

Sem
Level 3

Thanks, that worked.