Veritas-bu

[Veritas-bu] Change retention of all tapes(question)

2007-01-24 16:06:32
Subject: [Veritas-bu] Change retention of all tapes(question)
From: dpreston at LANDAM.com (Preston, Douglas L)
Date: Wed, 24 Jan 2007 16:06:32 -0500
Is there a way to exclude vaulted images using your commands below? 


Doug Preston
Systems Engineer
Land America Tax and Flood Services
Phone 626-339-5221 Ext 104
Email  dlpreston at landam.com


------------------------------------------------------------------------
------------
NOTICE: This electronic mail transmission may constitute a communication
that is legally privileged. It is not intended for transmission to, or
receipt by, any unauthorized persons. If you have received this
electronic mail transmission in error, please delete it from your system
without copying it, and notify the sender by reply e-mail, so that our
address record can be corrected.
------------------------------------------------------------------------
------------


-----Original Message-----
From: veritas-bu-bounces at mailman.eng.auburn.edu
[mailto:veritas-bu-bounces at mailman.eng.auburn.edu] On Behalf Of Lee,
Kenneth (SBS US)
Sent: Wednesday, January 24, 2007 9:58 AM
To: Tim Martino; Veritas-bu at mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Change retention of all tapes(question)

You can change the expiring of tapes by backup id using the following
commands:

 

bpimagelist -l -d mm/dd/yy -e mm/dd/yy | grep IMAGE | awk '{print
"bpexpdate -recalculate -backupid " $6 " -ret 9 < yes"}' >
command_script_to_run

 

you need to create a file called yes with one line with the word y.
This is required because bpimagelist prompt for a yes.

 

The -ret 9 is to set the backup to infinite.  This command will set the
backup to infinite regardless of how many tapes the image is on.

 

Regards,

Ken

 

________________________________

From: veritas-bu-bounces at mailman.eng.auburn.edu
[mailto:veritas-bu-bounces at mailman.eng.auburn.edu] On Behalf Of Tim
Martino
Sent: Wednesday, January 24, 2007 9:23 AM
To: Veritas-bu at mailman.eng.auburn.edu
Subject: [Veritas-bu] Change retention of all tapes(question)

 

We have just shut down one datacenter and we are moving the backup
server and tapes to a separate location.  Is there an easy way to set
all the tapes by media_id to infinite with just one running of the
command instead of listing every single media_id?  Thanks.