Networker

Re: [Networker] Finding a file in client index

2003-01-13 15:24:57
Subject: Re: [Networker] Finding a file in client index
From: Itzik Meirson <imeirson AT MBI.CO DOT IL>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Mon, 13 Jan 2003 22:24:24 +0200
Ben,
If you carefully read the documentation for nsrinfo, you will realize
that when you use the "-t" flag you limit the information provided to
the list of the files that have been saved for the saveset with the
specified "nsavetime". This flag does not accept time field in the
normal nsr_getdate fashion.

To accomplish what you are trying to imply by "3 days ago" you will have
first to query your media database for all backups for the specific
client and saveset in the needed time span. Once you have the list you
can generate a list of all files backed up (for each saveset) and the
look in it for your specific files.
I Unix it will be relatively easy to write such a script. Unless you use
perl, in windows it might be a challenge.
Itzik


-----Original Message-----
From: Conrad, Ben [mailto:BConrad AT USPOWERSOLUTIONS DOT COM] 
Sent: Monday, 13 January, 2003 21:35 
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: [Networker] Finding a file in client index


Hello,

I'm trying to find a file in a client index from a FULL I did Saturday
morning.

This works but takes forever and eats CPU:
nsrinfo client.domain.com |grep -i boot.ini
>>>>C:\boot.ini, date=1042261292 Sat Jan 11 00:01:32 2003

This works but it's not very practical because I already have the info
from above: nsrinfo -N C:\boot.ini -t 1042261292 client.domain.com

I want to do something like this:
nsrinfo -t "3 days ago" -N C:\boot.ini client.domain.com 

but it's not working.  

Can somebody help me figure out what I am doing wrong?

Thanks,

Ben


____________________________________
Benjamin Conrad
Sr. Network Administrator
USPowerSolutions
617.547.3800 x195
____________________________________

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


**************************************************************************************************
The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  
the 
sender immediately and do not disclose the contents to any one or make copies.

MBI - System Team
**************************************************************************************************

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

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