Veritas-bu

[Veritas-bu] Dynamic policies

2004-01-22 14:47:49
Subject: [Veritas-bu] Dynamic policies
From: david.chapa AT adic DOT com (David Chapa)
Date: Thu, 22 Jan 2004 12:47:49 -0700
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