Networker

Re: [Networker] Question on null directives?

2009-06-18 19:35:03
Subject: Re: [Networker] Question on null directives?
From: A Darren Dunham <ddunham AT TAOS DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 18 Jun 2009 23:28:09 +0000
On Thu, Jun 18, 2009 at 03:03:17PM -0400, George Sinclair wrote:
> A Darren Dunham wrote:
> >On Wed, Jun 17, 2009 at 03:25:51PM -0400, George Sinclair wrote:
> >>If you have a null directive in place, and you copy the affected path 
> >>name/data from host A to host B, and you then put that same directive in 
> >>place for host B, what will happen when NW runs the first initial level 
> >>full on that new save set?
> >>
> >>Will the fact that it doesn't yet have any index entries for that data 
> >> still allow it to obey the directive?
> >
> >The networker client doesn't see index entries on the server, so that
> >will have no effect on how it obeys the directive.
> 
> I wasn't clear. By 'it', I meant, the networker server, not the client. 
> Since the server maintains the client indexes, if you have a client side 
> directive, or a server side directive, that uses something like:

Directives, whether stored locally on the client in a .nsr file, or part
of the client config on the server are only interpreted by the client.
The server doesn't do anything with the directives, and the client never
sees the indexes.  So they don't interact.

> << /data/dir1 >>
> +null: ?* *
> 
> and this is for NSR client resource A, and then you apply this same 
> directive for NSR client resource B, and you run a backup for /data for 
> the first time on client B, I was curious if it would still obey the 
> directive and not backup up anything under dir1?

Correct.  Why would the directive not be obeyed?

> In the case of client 
> A, we would have done a full with no directive at some point in the past 
> in which case we would have captured all of /data, including dir1, and 
> now we still maintain the client index entries for dir1 whenever we run 
> backups, but we don't back up dir1 since we have the null in place, but 
> we do keep the index entries, unlike 'skip'. But in the case of client 
> B, since the server has never backed up any of this data before, the 
> first time it runs, would it still ignore dir1 even though there are no 
> client index entries to maintain from before?

My understanding is that 'null' will send index data to the server, but
will not send file contents.  So it will not backup any data in files
under dir1, regardless of any previous backups.

This operation is handled by the 'save' process on the client.  When the
nullasm is in effect it simply doesn't send any data to the filestream. 

> Not sure I explained myself correctly. Maybe a better way to ask the 
> question is that if you're backing up a save set for the first time, and 
> you have a 'null' directive in place (server or client side) for part of 
> the affected data, then that data will still be ignored on the backups 
> even though the server doesn't have any previous index entries for that 
> data, correct?

Correct.  Previous backups are never considered by the directives.

-- 
Darren

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

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