Re: [Networker] Directive question - include only certain types
2009-09-28 16:31:50
On 29/09/2009, at 05:57 , MIchael Leone wrote:
So I need a directive that will skip all files, except a specific
list of
file types. Specifically, I want to backup *only* media files in a
certain folder - .WAV. .MP3, etc. And to skip everything else.
(this will
give me a backup of only those media files. More importantly, it
will give
me a saveset that includes only those types .. and I can then use
the info
in that saveset to go and berate .. errr .. remind ... the users that
they're not supposed to be saving that stuff).
(This would be on Windows 2003, BTW. NW 7.4.2)
Would it be:
<< H:\Users >>
+skip: .
allow *.MP3
allow *.WAV
etc etc etc
or is that what the "forget" directive does? I'm not completely
following
the Admin manual on this, and the examples don't show either "allow"
or
"forget: with parameters, like the "skip" directive has ...
I was asked this only recently, and I don't think NetWorker is capable
of the finer control of "skip everything EXCEPT these file types" ...
while in theory the wildcards in the directives (e.g., skip: *.mp3)
are meant to support "shell wildcard usage" (or something along those
lines from the man page), I couldn't get any combination of "except/
exclude" wildcards to work.
I'd be interested if someone can get them to work ... otherwise I
think it may be a docbug and a feature request.
If the users aren't meant to be saving those files at all (and there's
potential copyright issues through backing them up), perhaps it's best
to completely exclude them from the backup anyway then do regular
filesystem searches on the host.
Cheers,
Preston.
--
Preston de Guise
"Enterprise Systems Backup and Recovery: A Corporate Insurance Policy":
http://www.amazon.com/Enterprise-Systems-Backup-Recovery-Corporate/dp/1420076396
http://www.enterprisesystemsbackup.com
NetWorker blog: http://nsrd.wordpress.com
To sign off this list, send email to listserv AT listserv.temple DOT edu and type
"signoff networker" in the body of the email. Please write to networker-request
AT listserv.temple DOT edu if you have any problems with this list. You can access the
archives at http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|
|
|