cancel
Showing results for 
Search instead for 
Did you mean: 

Freeze Backup Image

Evan
Level 4
Hey Guys, I have an odd question. I have a backup image that is on disk right now that I know my user may or may not want to check for some information down the road. Currently it is set to expire in a week. Is there a way for me to freeze that image so it stays on disk and does not expire like it should?

Thanks!

Evan
7 REPLIES 7

J_H_Is_gone
Level 6
use bpexpdate and change the expiration date.

Evan
Level 4
Thanks! Thats def the command, i just cant get it to work i guess...

I'm typing bpexpdate -recalculate -backupID 

and its not working, keeps saying that my backupID is unrecognized, though I'm typing it correctly. is there a command to see the exact backup ID? I'm using the one from that catalog.

Thanks!

Evan

J_H_Is_gone
Level 6
bpimmedia -U -mediaid <tapenumber>
example
bpimmedia -U -mediaid A00001

you get back something like this:

Backup-ID Policy Type RL Files C E T PC Expires

Copy Frag KB Type Density FNum Off Host DWO MPX Expires

RL MediaID

--------------------------------------------------------------------------------

----------------

myserver01_1183872 HIPAA FULL 12 68374 N N I 2 13:58 02/22/2011 1 1 86962270 RMed dlt 1 2 myhost -1 N 13:58 02/22/2011 12 H00058

the backup-id is myserver01_1183872

to do a recalculate you need to supply a new retention level

From help:

 

-recalculate

Recalculates the expiration of backups that are based on the retention level or you can specify a new expiration date. You can include other options to change the expiration for a single backup, or for the following: all backups for a specific client name, policy name, or schedule type. Either the -d or -ret option must be specified with this option.


 or just change the expiration date

bpexpdate -backupid eel_0904219764 -d 12/20/2003 08:00:00


 

Evan
Level 4
my image is on disk, can i run bpimmedia on images that are on disk?


Will_Restore
Level 6
I don't recommend using a date in the past if you want to retain images. wink

Will_Restore
Level 6

You can generate this report for any medium including disk. Filter the report

contents according to client, media ID, path, and so on.

Refer to the section on NetBackup Reports in the NetBackup Administrators Guide

for more information, including details about the fields in the Images-on-Media

report.

J_H_Is_gone
Level 6
that was an example taken from help!