Views |
How do I determine what files were backed up?To determine what files were backed up in any particular saveset, you use the nsrinfo command. For reasons known only to Legato developers, you don't specify the saveset you're interested in by ssid, as you would expect. Instead, you specify the client name and the exact time of the saveset (i.e. either the savetime or nsavetime data from an mminfo report). For example, to find the contents of the most recent saveset for the /var filesystem on the client foo.bar.edu, you first need to determine what the savetime or nsavetime was for that saveset, probably using mminfo. $ mminfo -ot -q 'client=foo.bar.edu,name=/var,savetime>=yesterday' -r 'ssid,client,name,nsavetime' That will return output similar to: ssid client name save time 110486406 foo.bar.edu /var 1201005399 546782600 foo.bar.edu /var 1201093980 Since the savesets were ordered by time (the -ot flag to mminfo), the last one that appears is the most recent savetime. Now you use that with nsrinfo. $ nsrinfo -t 1201093980 foo.bar.edu Which should result in the list of files that were backed up in that particular saveset: scanning client `foo.bar.edu' for savetime 1201093980(Wed Jan 23 07:13:00 2008) from the backup namespace /var/adm/utmpx /var/adm/wtmpx /var/adm/messages /var/adm/lastlog /var/adm/ /var/cron/log /var/cron/ /var/log/syslog /var/log/ / 10 objects found |
| This page was last modified 19:05, 23 January 2008. |