Veritas-bu

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

2007-01-24 12:56:41
Subject: [Veritas-bu] Change retention of all tapes(question)
From: jpiszcz at lucidpixels.com (Justin Piszcz)
Date: Wed, 24 Jan 2007 12:56:41 -0500 (EST)

On Wed, 24 Jan 2007, Tim Martino wrote:

> 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. 
> 
> 

Just use a loop in bash (UNIX) or bash via (CYGWIN):

$ for i in 1 2 3; do echo "command here for tape $i"; done
command here for tape 1
command here for tape 2
command here for tape 3