Networker

Re: [Networker] Directives in NDMP backup

2003-10-24 03:42:42
Subject: Re: [Networker] Directives in NDMP backup
From: Hrvoje Crvelin <hcrvelin AT ORCHESTRA DOT DE>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Fri, 24 Oct 2003 09:47:52 +0200
Hi,

NetApp supports EXCLUDE parameter.  You can exclude files
and qtrees this way, but not directories AFAIK.  Second
limit is that you can't specify path to excluded file but
must name file like EXCLUDE=CV.doc

Above will exclude ALL CV.doc encountered during the backup.
NetApp itself warns this could slow down dump considerably.

As any other NetApp parameter to include that one with your
backup you should put it inside application information in
client resource.  (there are number of other parameters 
which are useful as well; see your NetApp documentation).

On NetApp side, if you are testing this and using dump for
start in docs you will find following example:
dump 0ufX rst0a tmp,*.o,core*,*backup* /vol/vol1

where X means an exclude list is specified (tmp,*.o,core*,
*backup*). 

The rules for constructing a string for excluding files are 
as follows (taken from OnTap 6.4 doc):
- A string can be a file name.
- You can use the asterisk (*) as a wildcard character.
- The wildcard character must be the first or last character of the 
  string. Each string can contain up to two wildcard characters. For 
  example, you can specify *.core, core.*, or *core.*, but not
core*.1.
- If you have more than one string, you must separate the strings with

  a comma.
- You cannot have a comma in the file name or pattern.
- You can specify up to 32 strings. 

Not as near good as directive, but it is a start at least.

Cheers,
Hrvoje

--
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>