Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.
Some article numbers may have changed. If this isn't what you're looking for, try searching all articles. Search articles

NetWorker: How to delete Multiple or Individual SSIDs?

Summary: This article provides a full description on how to delete Save sets to free up disk space.

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

CAUTION: This KB details process for deleting backup data from NetWorker. Take caution when following the processes outlined in the KB to ensure that only data which is no longer wanted is deleted. Incorrect usage of this article can lead to Data Loss. Dell support cannot advise on which data should be deleted or delete any data from an environment. This must be determined and performed by the backup administrator and with the approval of the sites storage/infrastructure management.


It is advised to take a snapshot and disable cleaning on the Data Domain, perform a NetWorker Server Protection backup and make a copy of NetWorker databases (res, mm, index). Also rename the nsrim binary to prevent the scheduled daily run of nsrim while this procedure is being carried out. Bootstrap backups can be confirmed on the NetWorker server using:

mminfo -B

How to manually delete save sets which are within the retention period but no longer needed? Hard Drive space is filled up due with savesets that are still within their retention period.

 

How to delete Individual or Multiple SSIDs?

Prerequisite: This process can only be used for deleting savesets on AFTD (Advanced File Type Devices), FTD (File Type Devices) and Data Domain (ddboost) devices. You cannot delete individual savesets from a tape volume, even if that tape volume is on a VTL, because the entire volume must be relabeled in order to reclaim space.

Examples of how to list SSIDs

(quotes are needed around the query when using spaces or special characters):

  • To display all savesets for a single media pool:

SYNTAX:

mminfo -avot -q pool=<mediapool>

EXAMPLE:
mminfo -avot -q pool=LinuxPool

mminfo -avot -q pool=LinuxPool
  • To display all savesets for a specific Client and two separate Volumes:

SYNTAX:

mminfo -avot -q client=<client_hostname>,volume=<vol1_name>,volume=<vol2_name>

EXAMPLE:

mminfo -avot -q client=linuxhost1,volume=LinuxPool.001,volume=LinuxPool.002
  • To display all nonbrowsable Data Domain and adv_file savesets

EXAMPLE:

mminfo -avot -q  type=Data Domain,type=adv_file,recoverable 
  • To display all savesets created over 30 days ago:

EXAMPLE:

mminfo -avot -q  sscreate<=30 days ago 
  •  To display all savesets for a specific Group and Date range (quotes are needed when using special characters):

SYNTAX:

mminfo -avot -q  group=<group_name>,sscreate>=<start_date>,sscreate<=<end_date> 

EXAMPLE:

mminfo -avot -q  group=WinBackup,sscreate>=1/1/2013,sscreate<=2/1/2013 

NetWorker: How to use mminfo command with different switches
The NetWorker Command Reference Guide also provides details on the mminfo command.

For INDIVIDUAL SSID deletion:

If you specify a saveset ID without the clone ID, it deletes all instances of that saveset, including the clones:    

nsrmm -o recyclable -S <ssid> | nsrmm -o recyclable -S <ssid/cloneid>
NOTE: Verify that the right save sets have been changed to recyclable before proceeding. Rename the nsrim executable back to its original name. 
 nsrim -X 
The deletions are recorded in the daemon.raw log, and also reported in the NMC user interface log under the Maintenance tab.
If you do not see deletions occurring against a specific volume, you can verify that the operation is running:     
nsrstage -C -V <volume name>
 
NOTE: Enable DD cleaning once the deleted save sets are verified on NetWorker. In case incorrect save sets have been deleted contact DELL Support immediately. 
 

For MULTIPLE SSID deletion:

Deleting multiple savesets using batch/shell script commands. 

NOTE: Dell Support does not provide support for scripting.

1. First, append the mminfo output to only report the said (/cloneid):
    SYNTAX:
<mminfo command> -r ssid,cloneid -xc/

    EXAMPLE:

mminfo -avot -q client=linuxhost1 -r ssid,cloneid -xc/

 

NOTE: If you specify a saveset ID without the clone ID, it deletes all instances of that saveset, including the clones.


2. Next, redirect the output to a text file to be ran in a batch command:
    SYNTAX:
mminfo command -r ssid,cloneid -xc/> > ssid.txt
    EXAMPLE:
mminfo -avot -q client=linuxhost1 -r ssid,cloneid -xc/ > ssid.txt  
NOTE: Review the ssid list before proceeding to Step 3. 


3. Once you have the savesets piped to a text file, you can now run a batch/shell script command to recycle them:
    WINDOWS: 
for /f %%A in (ssid.txt) do @nsrmm -o recyclable -y -S %%A
    LINUX:
for x in `cat ./ssid.lst`; do nsrmm -o recyclable -y -S $x; echo $x; done
NOTE: These commands must be ran in the same directory where the ssid.txt file is located. After the savesets have been marked recyclable, they will be deleted the next time nsrim is ran (nsrim automatically runs every 24 hours).
 
NOTE: Verify that the right save sets have been changed to recyclable before proceeding. Rename the nsrim executable back to its original name.


4. Manually start nsrim to perform the deletion process in NetWorker:
nsrim -X 

5. The deletions are recorded in the daemon.raw log, and also reported in the NMC user interface log under the Maintenance tab. If you do not see deletions occurring against a specific volume, you can verify that the operation is running:   
nsrstage -C -V <volume_name>
 
NOTE:  Enable DD cleaning once the deleted save sets are verified on NetWorker. In case incorrect save sets have been deleted contact DELL EMC Support immediately. 

 

NetApp
For NetApp AFTD devices, the space will not immediately become available, depending on a couple of factors:
If snapshots are being taken of the CIFS/NFS file system where the adv_file device resides, the snapshots must expire before any of the data becomes available for cleaning. If the filer is under heavy load, deletions may take an extended period because space reclamation is a low-priority background operation.
 
Data Domain
For Data Domain DDBoost devices, freeing up space requires the Data Domain Cleaning operation to run.
By default, Data Domain only operates disk cleaning once a week on Tuesday. You can manually start the process from the Data Domain Enterprise Manager user interface (Data Management > File System > Start Cleaning).

Additional Information

Article Properties


Affected Product

NetWorker

Product

NetWorker, NetWorker Series

Last Published Date

24 Nov 2023

Version

7

Article Type

How To