Networker

Re: [Networker] Directive Question

2003-03-31 15:39:30
Subject: Re: [Networker] Directive Question
From: Matts Nilsson <matts_nilsson AT YAHOO DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 31 Mar 2003 22:39:24 +0200
 If you choose to use a directive to exclude a
complete drive, leave the '+' in place, that is
'+skip: *.*'. This goes for Windows, not sure about
UNIX:
'skip: *.*' will exclude all files under the specified
path, but not the directories. This means that all
files and subdirectories in any subdirectory to the
specified path will be backed up.
'+skip: *.*' means all recursive files under the
specified path will be excluded.

Apart from that George is on the spot. You might want
to have a look at NULL. The difference betwwen NULL
and SKIP, is that NULL will record the excluded files
in the file index, which SKIP doesn't.

If you don't want to use directives (except for
C:\Program Files\Exchsrv), you can specify the
following savesets:
C:\
SYSTEM STATE:
SYSTEM FILES:
SYSTEM DB:

// Matts

 --- George Sinclair <George.Sinclair AT NOAA DOT GOV> skrev:
> You could simply specifiy only C:\ as the saveset
> and not All. This
> would only backup C:\. Next, you could create a
> custom directive for
> this client as:
>
> << "C:\" >>
> skip: "program files\exchsrv"
>
> Not sure about the double quotes, but I think when
> working with NT or
> Windows systems, you have to use the double quotes
> if the path name
> contains spaces. Unfortunatley, though, I'm not sure
> that you would
> capture SYSTEM STATE:\ if you did not specifify
> 'All' for the saveset.
> So, maybe specifiying 'All' and then using the
> following custom
> directive would be better:
>
> << "C:\" >>
> skip: "program files\exchsrv"
>
> << "D:\" >>
> skip: *.*
>
> << "F:\" >>
> skip: *.*
>
> << "M:\" >>
> skip: *.*
>
>
> I don't really see any reason to use +skip when
> you're skipping the
> whole thing anyway. I normally employ '+skip' when I
> want to back up the
> whole thing, but I want to skip one thing
> recursively under there.
> That's what the '+' is for. For example, let's
> suppose I want to back up
> all of M:\ but I want to skip any occurence of the
> directory 'foo' or
> the file 'Robin.hood' that might live anywhere under
> there. I could use
> the following:
>
> << "M:\" >>
> +skip: foo
> +skip: Robin.hood
>
> If I just said: 'skip' and not '+skip', then only
> occurences of these
> files at the root level of M:\ would be skipped, not
> those that might
> occur deeper down.
>
> BUT, if I wanted to skip everything under M:\, I
> should be able to just
> say:
>
> << "M:\" >>
> skip: *.*
>
> In this case, NetWorker is not going to just skip
> stuff in the root area
> of M:\ Instead, it will skip everything downward
> because it's already
> ignoring all the files and directories at that level
> anyway.
>
> Hope this helps.
>
> George
>
> Brad Walan wrote:
> >
> > What is the correct syntax to perform the
> following on a Windows server.
> > I created a custom directive but it keeps trying
> to back up the drives I
> > told it to omit.
> >
> > 1. I have an Exchange 2000 server with drives: c,
> d, f, m
> > 2. I only want to backup the C: drive since I
> backed up the Data stores
> > using the MSEXCH directive.
> >
> > So how can I get the job to skip drives d, f, and
> m. And skip the
> > c:\program files\exchsrv directory but h=get the
> rest of c:\ and System
> > Stare etc..
> >
> > I tried:
> >
> > <<"c:\">>
> > All
> > <<"d:\">>
> > +skip: *.*
> >
> > etc.
> >
> > Any help is appreciated.
> >
> > Brad
> >
> > Brad Walan
> > Vivato Inc.
> > San Francisco Office
> > 415-946-3217
> >
> > --
> > Note: To sign off this list, send a "signoff
> networker" command via email
> > to listserv AT listmail.temple DOT edu or visit the
> list's Web site at
> > http://listmail.temple.edu/archives/networker.html
> where you can
> > also view and post messages to the list.
> >
>
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
>
> --
> Note: To sign off this list, send a "signoff
> networker" command via email
> to listserv AT listmail.temple DOT edu or visit the list's
> Web site at
> http://listmail.temple.edu/archives/networker.html
> where you can
> also view and post messages to the list.
>
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

_____________________________________________________
Gå före i kön och få din sajt värderad på nolltid med Yahoo! Express
Se mer på: http://se.docs.yahoo.com/info/express/help/index.html

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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