Networker

[Networker] A Few questions on searching an index?

2004-10-05 11:01:19
Subject: [Networker] A Few questions on searching an index?
From: George Sinclair <George.Sinclair AT NOAA DOT GOV>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Tue, 5 Oct 2004 11:06:01 -0400
Hi,

I had a user who needed to recover a file. He knew the pathname but
could not remember the last time it existed. He wanted the most recent
backup. I figured it probably existed in the client's index (I was
hoping, anyway!), but I didn't really want to just run nwrecover and
start randomly browsing by date to find it, so I ran the following
command to locate all the known entries in the client index:

nsrinfo -v -s server -N /home/user/dir1/dir2/dir3/file1 client
scanning client `client' for all savetimes from the backup namespace on
server server
UNIX ASDF v2 file `/home/user/dir1/dir2/dir3/file1', NSR size=19048,
date=1096587106 Thu Sep 30
23:31:46 2004, fid = 2060.3195675, file size=18867
UNIX ASDF v2 file `/home/user/dir1/dir2/dir3/file1', NSR size=21484,
date=1096498876 Wed Sep 29
23:01:16 2004, fid = 2060.3195674, file size=21304
2 objects found

I then knew the backup date and then ran nwrecover and browsed back to
that date (Sep 30), saw the file, and recovered it. This raised a few
questions:

1. How can you determine which volume the object lives on without
running nwrecover=>View=>Volumes ?

2. This nsrinfo command shows the date (time) the file was actually
backed up, but how do you determine the modification time for the file
itself without something like ... nwrecover=>View=>File Details ?

3. Is there a way to search on the file name from within nwrecover? I
tried this but it *ONLY* found the file when I browsed to the necessary
date. The 'search' utility seems to be limited to the browsed date.

Thanks.

George

--
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. Questions regarding this list
should be sent to stan AT temple DOT edu
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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