Veritas-bu

[Veritas-bu] Dynamic policies

2004-01-22 15:19:54
Subject: [Veritas-bu] Dynamic policies
From: Eric.Shafto AT drkw DOT com (Shafto, Eric)
Date: Thu, 22 Jan 2004 15:19:54 -0500
I suppose it's just a little cheesy, but you could create a cron job to
generate an exclude_list file that contains all but the most recent
directory, and then just do a full on /data.

ls -t /data | tail +1 > /usr/openv/netbackup/exclude_list



-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu]On Behalf Of David Chapa
Sent: Thursday, January 22, 2004 2:48 PM
To: Justin C. Lloyd; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Dynamic policies


Updating the file list is your best bet.  I've done this several times
from the CLI and it is quite painless, definitely could be incorporated
in to a script without an issue I think.



David A. Chapa * Technical Advisor, Technical Marketing * ADIC *
720.249.5836 * david.chapa AT adic DOT com

Pathlight VX - Integrated Disk-to-Tape Backup - http://www.adic.com


-----Original Message-----
From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of Justin C.
Lloyd
Sent: Thursday, January 22, 2004 12:12 PM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Dynamic policies

We have a data directory where data from multiple sources is
divided up into subdirectories based on the date and the
data's source, something like /data/$YYYYMMDD/$SOURCE.  (Each
day's data will be about 30 GB.)

Every morning we would like to do a full backup of the
previous day's data from all sources.  Once a day's data is
written to disk, it never changes, so a full (plus a Vault
copy) is all we would have in backups for each day, i.e., no
incrementals for the /data filesystem.  So for each day
YYYYMMDD I would need a new policy with the line

/data/${YYYYMMDD - 1}/*

in the policy's file list.

I obviuosly would not want to hand-create hundreds of policies.
This leads me to two possible solutions:

1. Create a unique policy for every day.  A cron job could
run a script to generate, say, a month of policies in advance.
(Perl could handle the $date - 1 easily.)  I would also want
to periodically delete old policies.

2. Have just one policy whose file list is updated daily by
cron.

Number 2 is much more to my liking.  That being said, does
this sound more difficult than it needs to be?

Justin


-- 
Justin C. Lloyd
Unix System Administrator
MCI System Technology Solutions
Office 703.886.3219 Vnet 806.3219 Fax 703.886.0132
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


If you have received this e-mail in error or wish to read our e-mail disclaimer 
statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender.