Freeing backups

Contributors Download PDF of this page

You can free backups, which deletes the Snapshot copies without deleting the backup metadata. This function frees the space occupied by the backup. You can use the smo backup free command to free the backups.

For a backup to be eligible for freeing, you must ensure the following:

  • Backup was successful

  • Backup is not to be mounted

  • Backup does not have clones

  • Backup is not to be retained by using an unlimited retention policy

  • Backup is not already freed

If protection is enabled on the profile and the protection policy contains connections from the primary node that use a mirror relationship, then Snapshot copies are deleted on the primary node when a backup is freed. Those Snapshot copies are also deleted from the mirror nodes when the next transfer to secondary storage occurs.

When you free a protected backup, SnapManager requests that Protection Manager remove the local Snapshot copies for the backup. If the backup free operation is successful for the protected backups, the Snapshot copies are deleted by Protection Manager in an asynchronous manner.

Protection state Local status Action on primary storage Action on secondary storage Explanation

Not requested (to be protected)

Exists

Frees the backup

No action required

SnapManager frees the local backup.

Freed

No action required

No action required

The local backup is already freed.

Not protected

Exists

Frees the backup

No action required

SnapManager frees the local backup even though no copies exist on the secondary storage.

Freed

No action required

No action required

The local backup is already freed.

Protected

Exists

Frees the backup

No action required; the backup on secondary remains

SnapManager frees the local backup. Copies remain on the secondary storage.

Freed

No action required

You can specify the -dump option as an optional parameter to collect the dump files after the successful or failed backup free operation.

  1. Enter the following command: smo backup free -profileprofile_name {-labellabel [data | -archivelogs] | -idid | -all} -force [-dump] [-quiet] [-force]

Related information