Veritas-bu

[Veritas-bu] Regex policy backup?

2005-09-27 14:55:19
Subject: [Veritas-bu] Regex policy backup?
From: Mark.Donaldson AT cexp DOT com (Mark.Donaldson AT cexp DOT com)
Date: Tue, 27 Sep 2005 12:55:19 -0600
It's limited to the target client's abilty to pattern match for filenames.
For example, "*a*b*c" works in unix but Windows is too limited to match
something as complex as this.

So, what you've got will work but you should write it in filesystem
patterns:

/data/[a-m]*
/data/[n-z]*

Don't forget that, as written, a file, "/data/Apple" wouldn't match because
of the leading capital letter.

You can also do this in one policy:

NEW_STREAM
/data/[a-m]*
NEW_STREAM
/data/[n-z]*


-M

-----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 Matthew
Hall
Sent: Tuesday, September 27, 2005 11:40 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] Regex policy backup?



I have a large volume I'd like to backup, perhaps with separate
policies - but it's a single directory as far as the server is
concerned.

I'd like to do something like

policyA: backup /data/[^a-m]
policyB: backup /data/[^n-z]

I'm currently using NetBackups 4.5 for unix.

Thanks,

-- 
It's always September somewhere on the 'net. | http://angui.sh
Another proud member of Eep's killfile.      | Unix Sys. Admin.
All projects approach the ghetto, some       |
faster than others.                          | matt AT angui DOT sh
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

<Prev in Thread] Current Thread [Next in Thread>