Networker

[Networker] Questions on backup renamed directories attribute?

2012-08-08 18:19:13
Subject: [Networker] Questions on backup renamed directories attribute?
From: George Sinclair <george.sinclair AT NOAA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 8 Aug 2012 18:09:59 -0400
Hi,

Three questions on the 'Backup renamed directories' attribute:

1. If you turn on the 'Backup renamed directories' attribute for a client then under what circumstances *might* 'save -i' (backup command attribute) not work as expected?

Is it because NW first walks through the save set (save set path or file system) to generate a list of what it needs to back up, including path names to .nsr files that will be ignored (when using save -i), but then once it's done and it then starts its backups, maybe someone might rename a directory containing a .nsr file, but NW doesn't have that path to that .nsr file in its list so it doesn't ignore it but instead carries out the instructions in that .nsr file, effectively negating the '-i' option for the save, at least in that situation? Something like that, maybe?

What would be a better way to handle this, if you wanted to ingore all .nsr files under the save set but still have 'Backup renamed directories' turned on? Just create a server side directive, like:

<< /saveset >>
ignore

as opposed to using 'save i' in the 'backup command' field?

2. Why does enabling this attribute cause the save program to perform a lookup in the CFI in order to determine if a directory have been renamed?

Normally, NW is looking at the ctimes of the files and comparing these against the value stored in the media database for the affected save set for the previous backup. I would think the CFI would only be read when doing recovers, so if a directory is renamed, then its ctime will change, and if NW knows that the ctime has changed then why not just back up everything under there without having to check the client file index?

3. What happens if you have this attribute turned on, but you're writing your data to a non-indexed pool?

Would this just be equivalent to not having it turned on and still writing it to a non-indexed pool?

Thanks.

George

--
George Sinclair
Voice: (301) 713-3284 x210
- The preceding message is personal and does not reflect any official or 
unofficial position of the United States Department of Commerce -
- Any opinions expressed in this message are NOT those of the US Govt. -

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