Networker

Re: [Networker] command to change retention policy for save sets

2008-12-15 09:34:42
Subject: Re: [Networker] command to change retention policy for save sets
From: Francis Swasey <Frank.Swasey AT UVM DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 15 Dec 2008 09:31:21 -0500
I guess I was assuming you would read and understand the man pages for mminfo and nsrmm.

As a starting point, look at what the following (unix) command pipe can do:

mminfo -c Your_Client_Name -q pool=The_Pool_You_Want_To_Purge_It_From -r ssid,cloneid -xc/ | grep -v ssid | xargs -n1 -t nsrmm -d -y -S

Frank

On 12/15/08 9:07 AM, psoni wrote:
I am not sure I understood your reply.

mminfo -c < client_name >  <Vol_Name> listed all the savesets from the 
particular client I specified.

But nsrmm -d -S requires each saveset id to delete.

How would I delete all of them togeather ?

Thanks

+----------------------------------------------------------------------
|This was sent by soni.parth AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


--
Frank Swasey                    | http://www.uvm.edu/~fcs
Sr Systems Administrator        | Always remember: You are UNIQUE,
University of Vermont           |    just like everyone else.
 "I am not young enough to know everything." - Oscar Wilde (1854-1900)

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