Networker

Re: [Networker] Networker Exclude List

2007-03-06 05:06:08
Subject: Re: [Networker] Networker Exclude List
From: "Wood, R A (Bob)" <WoodR AT CHEVRON DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 6 Mar 2007 10:01:26 -0000
Just a quick aside on this one. 
Now, correct me if I'm wrong (and I'm sure someone will :)) but I was
under the impression that Networker will not backup over mountpoints
unless speciffically told to do so with the save -L option (or am I
getting confused with earlier versions?)

Regards
Bob 

>-----Original Message-----
>From: EMC NetWorker discussion 
>[mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On Behalf Of Werth, Dave
>Sent: 05 March 2007 22:16
>To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
>Subject: Re: [Networker] Networker Exclude List
>
>Joe,
>
>If you're trying to skip all of the files in the entire /u03 
>file system your directive should look something like this:
>
><< /u03 >>
>       +skip: * 
>
>I think the spaces around /u03 are important.  If you want to 
>skip hidden files as well in Unix the line should look like:  
>+skip: .?* *
>
>The + means propagate the directive to subdirectories.
>
>Dave
>
>David Werth
>Garmin AT, Inc
>Salem, Oregon
>dave.werth<at>garmin.com
>
>-----Original Message-----
>From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU]
>Sent: Monday, March 05, 2007 1:42 PM
>To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
>Subject: Re: [Networker] Networker Exclude List
>
>Hi Tim,
>
>I thought I had resolved this, but I guess I'm a little more 
>stupid then I give myself credit for !  I created a .nsr file 
>in the / filesystem with the following contents
>
>$ cat /.nsr
><<"/">>
>skip: /u03
>
>But when I look at monitoring during the backup session, it seems that
>/u03 isn't being skipped as I can see it in the currently 
>running list of savesets. Is there something basic wrong here?
>
>Regards,
>
>Joe
>
>-----Original Message-----
>From: EMC NetWorker discussion 
>[mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On Behalf Of Tim Mooney
>Sent: 04 March 2007 21:12
>To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
>Subject: Re: [Networker] Networker Exclude List
>
>In regard to: [Networker] Networker Exclude List, Joe Lyons said (at
>1:19pm...:
>
>> I'm a noob to networker coming from a netbackup environment.
>
>Welcome!
>
>> I would like to exclude file and directories on various unix clients.
>In
>> the NB world I would simply create an exclude list on the client in
>the
>> appropriate directory. With networker there are standard directives
>but I
>> dont want these excludes to be universal excludes but specific to
>certain
>> clients.
>
>You have two options:
>
>- if you want your lists of what gets skipped or backed up specially to
>   be stored on the backup server, you create new directives, 
>possibly one
>   for each client, using the tools on the server.  You then assign the
>   directive to the client.  You can do this using a GUI (I assume that
>   option is available in the new Java GUI with 7.3.x, I haven't looked
>   very closely at it yet) or with the nsradmin command.
>
>   If you do it this way, the new directives are stored in 
>resource format,
>   somewhere under /nsr/res/nsrdb.  You can use nsradmin to 
>dump them to
>   to stdout or to a file if you want.  Taking the file that the GUI
>   creates and pulling out just the directive is a good way to 
>get started
>   writing directives for the second option.
>
>- if you want the list of skipped/special stuff stored on the client
>   itself, you create a file named .nsr (for UNIX/Linux, for Windows or
>   NetWare it's called something different that escapes me at the
>moment)
>   and put the same kind of directive information into that file.  With
>   .nsr files, you can have multiple files on the client if 
>you want, or
>   you can consolidate the directives into a .nsr file that's 
>higher up on
>   the filesystem.
>
>   See the man pages for nsr(5) and nsr_directive(5), and search the
>   archives for this list for "directive"
>
>PS: There are lots of components to NetWorker, but as a 
>NetWorker admin the non-GUI commands you will want to 
>familiarize yourself with the most are probably
>
>       nsradmin
>       nsrjb
>       mminfo
>
>You'll eventually want to know a lot more than that, but those 
>are the "big 3" in many environments.
>
>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 
>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
>
>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
>
>-------------------------
>This e-mail and any attachments may contain confidential 
>material for the sole use of the intended recipient.  If you 
>are not the intended recipient, please be aware that any 
>disclosure, copying, distribution or use of this e-mail or any 
>attachment is prohibited.  If you have received this e-mail in 
>error, please contact the sender and delete all copies. 
>Thank you for your cooperation 
>
>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
>

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