Networker

Re: [Networker] How to remove older entries from client index?

2004-09-23 12:03:57
Subject: Re: [Networker] How to remove older entries from client index?
From: Tim Mooney <mooney AT DOGBERT.CC.NDSU.NODAK DOT EDU>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Thu, 23 Sep 2004 11:05:16 -0500
In regard to: [Networker] How to remove older entries from client index?,...:

Hi,

Is there an easy way to remove all entries from a client index that are
older than a certain date? Is there a preferred method? I also have a
question further down about the nwadmin Indexes tool.

Here's what happened. Someone wanted to be able to run nwrecover and
view stuff from November 2003, but the client index didn't go back that
far. There are actually 5 client resources. Resource 1 is 6month, the
others are Quarter. So, I ran the command: nsrck - L 7 -t 11/30/03
client

on the server to merge in the full index from 11/30/03 that would then
allow them to browse back further. This worked, but made the index
bigger (duh!). Now that they're done, I'd like to know how to undo it.
What I should have probably done was to have first shut down the
NetWorker services, renamed the client, re-created empty client,
re-started services and then recovered the older index on top of that.
Once they were done recovering what they needed I could have then shut
everything down again, removed the client, renamed the original client
back again and restarted and I would have been back where I started, but
I didn't do this.

Oy, way too much work.  Just look at the `nsrmm' command, and pay
special attention to `-d', and probably `-P'.

Tim
--
Tim Mooney                              mooney AT dogbert.cc.ndsu.NoDak 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

--
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>