[Veritas-bu] Change retention of all tapes(question)
2007-01-24 12:57:35
Subject: |
[Veritas-bu] Change retention of all tapes(question) |
From: |
kenneth.lee at siemens.com (Lee, Kenneth (SBS US)) |
Date: |
Wed, 24 Jan 2007 09:57:35 -0800 |
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20070124/bc29a031/attachment.htm
|
|
|