Suspend wouldn’t prevent expiration
though it would prevent use of the tape.
Also you shouldn’t change expiration
on the tape but rather the image you’re interested in.
To determine images for a specific policy
in a given date/time range:
bpimmedia -L -policy <policyd> -d MM/DD/CCYY
HH:MM:SS -e MM/DD/CCYY HH:MM:SS
You’ll see backup IDs in the output
(typically in form hostname_numericid). For each of the backup IDs
bpexpdate -backupid <backupID> -d
infinity
(add “–copy 2” to end if
you’re just wanting to do this for your offsite duplicates).
From:
veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Snyder, Nicholas A (IS)
Sent: Friday, September 25, 2009
9:33 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Extending
Media Expiration
Greetings-
I
have a couple of backup images currently on tape set to expire soon.
I’d like to prevent NetBackup from expiring this media/backup images as
scheduled. I’ll need to restore from the tape, and I thought that preventing
the tape/images from expiring would be easier than importing upon receiving the
tape back onsite.
I’ve
tried to suspend
the media, but received the following error:
Operation to
suspend media failed:
000031: the media is allocated for use(199)
I’ve
also attempted to extend the expiration date on the media with the following:
bpexpdate.exe
–m 000031
–d 09/25/2009
23:59:59
Are you SURE you want to change 000031
To expire on 9/25/2009 11:59:59 PM y/n (n)? y
Requested media id is in use, cannot process
request
Is
the only solution to import the tape back into NetBackup upon physical receipt
(after images have expired)?
Thanks!
Nick Snyder
Northrop Grumman
Systems Administrator
937-429-6415
nicholas.snyder AT ngc DOT com