In regard to: Re: [Networker] File query via ssid, Wood, R A (Bob) said (at...:
Just a quick question - what IS the goal here?
I think Steve's first sentence was the key:
-----Original Message-----
From: EMC NetWorker discussion
[mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On Behalf Of Steven Macdonald
Sent: 06 July 2007 03:09
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] File query via ssid
I'm looking for a way to browse the specific files that were
backed up within a specific ssid.
"Browse" was probably an unfortunate choice, because it has connotations
to a long-time NetWorker user that Steve probably didn't mean. I
interpreted his question as "how do I figure out what files were backed
up in a saveset?".
Davina answered Steve's question perfectly, as Davina always does. It
*can* be done, and it's easy, once you know about nsrinfo.
The odd thing about nsrinfo that trips everyone up is that it doesn't use
the ssid as an argument -- it uses time and client name to list what
was backed up in a saveset. I've been using NetWorker longer than you
have, and why it uses time rather than ssid has always been a mystery to
me.
So, as Davina said, to get a list of the files that were backed up in
any particular saveset, you perform two steps:
- given a ssid, find its nsavetime (and client, if you don't know that):
$ mminfo -q ssid=3180210349 -r 'nsavetime,client'
save time client
1183721635 dogbert.cc.ndsu.nodak.edu
- take the nsavetime and the client name, and use that with nsrinfo:
$ nsrinfo -t 1183721635 dogbert.cc.ndsu.nodak.edu
scanning client `dogbert.cc.ndsu.nodak.edu' for savetime 1183721635(Fri
Jul 6 06:33:55 2007) from the backup namespace
/var/lost+found/
/var/sadm/install/admin/default
/var/sadm/install/admin/
/var/sadm/install/logs/Additional_Software_install.A03252245
/var/sadm/install/logs/Additional_Software_install.B03252245
[elided]
/
32964 objects found
Tim
--
Tim Mooney Tim.Mooney AT ndsu DOT edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164
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
|