SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
quick query for last backup of a client
Author Message
Post quick query for last backup of a client 
I'd like to include in some of my reports the last time a client backed
up. I know I can do someting like:

mminfo -c dave -o t (or -o tR)

to get the list and then take the first/last entry, but that query can
take some time and I have 300+ clients. Is there a quicker way to get
the last time a client backed up? If I'm at the nwadmin GUI, I usually
get this information from the Indexes interface -- it's pretty speedy.
Can I get similar information from the command line? I'd like to do it
on a per-client basis, but if I need to do it on all clients and have it
'cook' for a few minutes, that's fine too.

Dave

Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu

Post quick query for last backup of a client 
I personally consider this cheating, but it works well enough in most cases:

ls -lt /nsr/index/<clientname>/db6/*.k0 | head -1

Note that it doesn't really tell you when the last backup occurred but the
last time the client index was updated. You may not have backed up anything
useful at the time listed. But, it works even if NetWorker happens to be
down at the time you do the query.

HTH,

Conrad Macina
Pfizer, Inc.



On Wed, 26 Jan 2005 18:01:34 -0600, Dave Mussulman <mussulma < at > CS.UIUC.EDU> wrote:

I'd like to include in some of my reports the last time a client backed
up. I know I can do someting like:

mminfo -c dave -o t (or -o tR)

to get the list and then take the first/last entry, but that query can
take some time and I have 300+ clients. Is there a quicker way to get
the last time a client backed up? If I'm at the nwadmin GUI, I usually
get this information from the Indexes interface -- it's pretty speedy.
Can I get similar information from the command line? I'd like to do it
on a per-client basis, but if I need to do it on all clients and have it
'cook' for a few minutes, that's fine too.

Dave

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu

Note: To sign off this list, send a "signoff networker" command via email
to listserv < at > listserv.temple.edu or visit the list's Web site at
http://listserv.temple.edu/archives/networker.html where you can
should be sent to stan < at > temple.edu

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB