Deleting backup data

You can delete individual or groups of backup versions if your IBM Spectrum Protect™ server administrator has given you the authority to do so. You can delete backup versions of files, directories, or images from the server. To determine if you are authorized, look at the Delete Backup Files field in the Connection Information window.

Before you begin

You might want to delete one or several backup versions on the server in the following situations:
  • You performed an incremental backup of the files on your machine. You discover that one or more files contain sensitive information such as passwords, or discover that some files are corrupted. You can delete the files in question on your local workstation and then delete the backup versions on the server.
  • You performed an incremental backup of the files on your machine. At a later time you run a virus scan on your workstation and discover that a file is infected with a virus. You quarantine the file and delete it from your local workstation. You then delete the backup version of the infected file on the server.
Attention: Once you have deleted the backup versions, you will not be able to restore them with the client. Verify that the backup versions are no longer needed before you delete them. You will be prompted and explicitly asked if you would like to continue with the delete. When you click Yes, immediate delete and removal of the backup objects from IBM Spectrum Protect sever will occur.

You must be an Authorized User to delete backup data.

Procedure

To delete your backup versions on the server:

  1. Select Utilities > Delete Backup Data from the menu. The Backup Delete window appears. By default, all active backup versions on the server are displayed.
  2. Click the selection boxes Selection box next to the objects on the server that you want to delete.
  3. Select a Backup Delete Type from the drop-down list near the top of the Backup Delete window to specify the type of backup delete to perform. You can delete active backup versions, inactive backup versions, or all objects that you have selected in the tree.
    Note: A directory will be deleted only if you select Delete All Objects..
  4. Click the Delete button. The Task List window appears showing the progress of the backup delete. You can click the Report button to display the Backup Delete Report window.

Results

Note:
  • If you specify Delete Active Objects or Delete Inactive Objects, only the files are considered for removal.
  • If you specify Delete Active Objects or Delete Inactive Objects and select a directory that contains no files for removal, the following message is displayed during the delete backup operation:
    ANS5030E No objects on server match query.

    The last parent inactive directory is removed based on retention policy settings on the server.

  • To delete file spaces, click Utilities > Delete Filespaces from the main window.
  • To delete backup copies using the command-line client, use the delete backup command.
  • Only backup objects that are currently in the active or inactive state will be deleted. Expired backup versions are not deleted. For example, the server retains 2 inactive backup versions based on the versions data deleted attribute of the backup copy group. After 5 backups, the following backup versions will be on the server:
    • FileX (active backup version)
    • FileX' (inactive backup version)
    • FileX'' (inactive backup version)
    • FileX''' (expired backup version)
    • FileX'''' (expired backup version)
    If you delete all the inactive backup versions, the following backup versions will remain on the server:
    • FileX (active backup version)
    • FileX''' (becomes an inactive backup version)
    • FileX'''' (becomes an inactive backup version)
    Therefore, as backup objects are deleted, any other versions of the object on the server will "move up" in the list. If an active backup version is deleted, the first inactive backup version becomes active. Thus, even though you have deleted some backup versions, the Backup Delete tree might look the same to you. You can check the date stamps of the backup versions to see that the backup versions that remain on the tree are different from the ones that you deleted.
  • When you delete a backup version, only the entries for that item in the IBM Spectrum Protect server database will be removed, but the data in the server storage pool will not be deleted. For example, you deleted several backup versions on the server, then discovered that you needed some of the files back. You can access the items that were deleted if your administrator performs a server database restore.
  • You can also perform a search or filter the tree to locate the objects that you want to delete.
Related information:
Connection Information