Networker

Re: [Networker] Networker Exclude List

2007-03-04 16:17:55
Subject: Re: [Networker] Networker Exclude List
From: Tim Mooney <Tim.Mooney AT NDSU DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Sun, 4 Mar 2007 15:12:29 -0600
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