Networker

Re: [Networker] How save set recover works? - HELP!!!

2009-10-28 12:01:35
Subject: Re: [Networker] How save set recover works? - HELP!!!
From: George Sinclair <George.Sinclair AT NOAA DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 28 Oct 2009 11:53:26 -0400
George Sinclair wrote:
A Darren Dunham wrote:
On Tue, Oct 27, 2009 at 07:21:43PM -0400, George Sinclair wrote:
OK, so in this case, even though 2001 is a directory, it's still treated like a file as far as that rule?

This only applies when relocating, though, not when restoring to the original location, correct?

As far as I can see, you are correct in both cases.  But as I mentioned,
I'm mainly going off the docs here.  I haven't really tried to
investigate all the details here recently. One thing I'm thinking of that I don't see in the docs is that the
"first common parent" can be anywhere if you're doing a normal (files)
recovery, but that it must be above the saveset if you're doing a
saveset recovery.

Darren,

I think where I was confused was in cases in the past where I've used nwrecover or 'recover' to recover a directory that was part of a backup for a parent save set. For example, recovering, say, /usr/data/dir1 or something like that. In that case, /usr was the save set, so it rebuilds more of the path and not just 'dir1'. BUT, if dir1 had been backed up itself as: '/usr/data/dir1' then it might just recover dir1. I may not be explaining it right, but I think I see how it works now.

So I tried to use nwrecover, as opposed to 'recover -s ssid', to recover that data that I'd been playing around with the other day, and again, it recovered just the directories themselves, but again, these were explicitly backed up that way like: '/data/old1/2001', /data/old1/2002', etc. as opposed to all being captured under a single backup for /data. If that had been the case then I expect that it would have rebuilt part of that path.

George



Yeah, they don't really cover that nor do they overtly state that it applies to directories, they just use the term 'files', but of course, in the Unix world, a directory is a file, but that's from the OS perspective.

Thanks for all your help, Darren!




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

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