Re: [Networker] How to query for a specific file?
2008-08-21 09:20:21
Try this:
nsrinfo admnlts003 | grep -i " leonem.nsf"
Wilbur Mason
WTI- Global Data Protection Team
Email: wilbur.mason AT pfizer DOT com
Tel: (973) 355-2881
-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of MIchael Leone
Sent: Wednesday, August 20, 2008 3:06 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] How to query for a specific file?
EMC NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU> wrote on
08/20/2008 02:47:46 PM:
> > I've tried (as an example)
> >
> > C:\PHA Scripts>nsrinfo -v -N leonem.nsf admnlts003
> > scanning client `admnlts003' for all savetimes from the backup
namespace
> > 0 objects found
> >
> > I will guarantee the the file "leonem.nsf" exists on the client
> > "admnlts003" (it's my Lotus Notes mailbox). So why can't it find it?
There
> > aren't a whole lot of options to nsrinfo, that I can see ... The
> > instructions say to specify a filename, not a filepath and filename
...\
> >
>
> Michael,
>
> If I'm not mistaken, the -N option needs the full path to the file
> too.
<sigh> Exactly the thing I *don't* know ... the PDF states that -N is
for
the exact filename. To me, that is a *name*, not a path and name. But
whatever ...
> In Unix, I would use grep to search for the file name if I
> didn't know where it was. I'm not sure for Windows.
Grep exists for Windows. Altho the supplied "findstr" command ("Find
String") works somewhat similarly, at least for this case. So that's
what
I'm doing .. dumping all those thousands of records, and doing a find
for
the name I want ...
Thanks
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
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
|
|
|