[Veritas-bu] Extending Media Expiration

2009-09-25 Thread Snyder, Nicholas A (IS)
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:
31: 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 31 -d 09/25/2009 23:59:59
Are you SURE you want to change 31
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.sny...@ngc.com

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Extending Media Expiration

2009-09-25 Thread Jeff Lightner
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-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Snyder,
Nicholas A (IS)
Sent: Friday, September 25, 2009 9:33 AM
To: veritas-bu@mailman.eng.auburn.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:

31: 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 31 -d 09/25/2009 23:59:59

Are you SURE you want to change 31

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.sny...@ngc.com
 
Please consider our environment before printing this e-mail or attachments.
--
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential 
information and is for the sole use of the intended recipient(s). If you are 
not the intended recipient, any disclosure, copying, distribution, or use of 
the contents of this information is prohibited and may be unlawful. If you have 
received this electronic transmission in error, please reply immediately to the 
sender that you have received the message in error, and delete it. Thank you.
--
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu