Place a + sign in front of the skip. That will cause the skip to apply
to all subdirectories. Right now, your statement only applies to the
root of each drive.
R. Scott McKnight
-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of Stan Sander
Sent: Tuesday, November 14, 2006 7:13 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] Windows Global Directive
Lisa Green wrote:
> We are running Networker 7.2.1 on a Windows 2003 server. I am trying
to
> get a Global directive setup that will skip certain types of files on
all
> hard drives. What I have is this:
>
> <<"C:\">>
> skip: *.tmp
> <<"D:\">>
> skip: *.tmp
> <<"E:\">>
> skip: *.tmp
> <<"F:\">>
> skip: *.tmp
> <<"C:\">>
> skip: *.mdf
> <<"D:\">>
> skip: *.mdf
> <<"E:\">>
> skip: *.mdf
> <<"F:\">>
> skip: *.mdf
> <<"C:\">>
> skip: *.ldf
> <<"D:\">>
> skip: *.ldf
> <<"E:\">>
> skip: *.ldf
> <<"F:\">>
> skip: *.ldf
> <<"C:\">>
> skip: *.sdb
> <<"C:\">>
> skip: *.edb
> <<"E:\">>
> skip: *.edb
> <<"F:\">>
> skip: *.edb
> <<"C:\">>
> skip: *.log
> <<"F:\">>
> skip: *.log
> <<"E:\">>
> skip: *.stm
> <<"C:\">>
> skip: *.stm
>
> This doesn't seem to be working. When I looked at the MAN pages, it
has
> the following:
>
> When multiple directory specifications are used, directives that
follow a
> directory specification are applied to that directory until the next
> directory specification. You cannot use wildcards in directory
> specifications.
>
> Does anyone know of a way to do this in the Windows environment with a
> Global directive and not a local one?
>
> 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
>
Try:
<< / >>
+skip: *.log *.stm *.edb *.sdb *.mdf *.ldf
and so forth. The << / >> in a windows context means "all local drives"
The +skip will just ensure that it will skip those file types however
deep they may be in the tree and on whatever drive they may appear.
--
Stan Sander - CSU Special Projects (505)284-4915
ASAP, LLC, Contractor assigned to Sandia National Laboratories
Unix Systems Administrator
Microsoft: You've got questions. We've got a dancing paperclip.
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
--------------------------------------------------------
Princeton Retirement Group, Inc - Important Terms
This E-mail is not intended for distribution to, or use by, any person or
entity in any location where such distribution or use would be contrary to law
or regulation, or which would subject Princeton Retirement Group, Inc. or any
affiliate to any registration requirement within such location.
This E-mail may contain privileged or confidential information or may otherwise
be protected by work product immunity or other legal rules. No confidentiality
or privilege is waived or lost by any mistransmission. Access, copying or
re-use of information by non-intended or non-authorized recipients is
prohibited. If you are not an intended recipient of this E-mail, please notify
the sender, delete it and do not read, act upon, print, disclose, copy, retain
or redistribute any portion of this E-mail.
The transmission and content of this E-mail cannot be guaranteed to be secure
or error-free. Therefore, we cannot represent that the information in this
E-mail is complete, accurate, uncorrupted, timely or free of viruses, and
Princeton Retirement Group, Inc. cannot accept any liability for E-mails that
have been altered in the course of delivery. Princeton Retirement Group, Inc.
reserves the right to monitor, review and retain all electronic communications,
including E-mail, traveling through its networks and systems (subject to and in
accordance with local laws). If any of your details are incorrect or if you no
longer wish to receive mailings such as this by E-mail please contact the
sender by reply E-mail.
--------------------------------------------------------
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
|