Networker

[Networker] Recycle/delete old save sets?

2010-07-08 07:40:42
Subject: [Networker] Recycle/delete old save sets?
From: wallace88 <networker-forum AT BACKUPCENTRAL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 8 Jul 2010 07:37:08 -0400
> We have a client that is supposed to be decommissioned shortly. The owners 
> have asked us to delete all stored data older than 1 month.


You can use mminfo to identify what backups still are maintained by NetWorker, 
and then use that to find out which volumes have those backups.  Then determine 
what is on that backup volume.

mminfo -avot -c (client) -q "savetime<-1month" -r 
volume,ssid,cloneid,client,level,name


If it is a tape volume, then only way to delete the data is to relabel the 
volume.  Not a good idea if there are backups for other hosts.

If it is on a file device, you can delete the saveset, and only that saveset 
will be removed.

You use the nsrmm command to delete the savesets.  For example:

  nsrmm  -d  -S ssid/cloneid

+----------------------------------------------------------------------
|This was sent by wl905 AT yahoo DOT ca via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------

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