In regard to: [Networker] Directives question, Quayle, Kurtis said (at...:
I need to backup only a certain file type *.pst and skip all other
files. Has any one wrote a directive to do something like this.
I've never tried to do something like that and I haven't looked at the
nsr_directive(5) man page recently, but my first instinct is to try
something like this:
<< /path/to/some/directory >>
+skip: * .?*
+atimeasm: *.pst
In other words, first tell save to skip everything in that directory and
below, and then tell it to back up your pst files using a (non-skip) ASM.
There's no reason you have to use atimeasm, something like +always or
+holey would also be things you could try -- the important idea is that
you're first skipping everything and then rescinding that for just the pst
files.
Let the list know if it works. ;-) If it doesn't, there might be a way
to do some creative glob()ing to do the skip, but I would try this first.
Tim
--
Tim Mooney Tim.Mooney AT ndsu DOT edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
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
wit 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
|