Skip to main content
SnapManager Oracle

Freeing or deleting retention policy exempt backups

Contributors

Backups with the retention class of "unlimited" cannot be deleted or freed directly. To delete or free these backups, you must first assign another retention class, such as hourly, daily, weekly, or monthly. To delete or free a backup that is exempt from the retention policy, you must first update the backup to make it eligible for deletion or free it.

  1. To update the backup to make it eligible for deletion by the retention policy, enter this command: smo backup update -profileprofile_name {-labellabel [data | -archivelogs] | -idid} -retain [-hourly | -daily | -weekly | -monthly]

  2. After updating the backup so it is eligible for deletion, you can either delete the backup or free backup resources.

    • To delete the backup, enter this command: smo backup delete -profileprofile_name {-labellabel [data | -archivelogs] | -idid | -all}

    • To free the backup resources, rather than delete the backup, enter this command:smo backup free -profileprofile_name {-labellabel [data | -archivelogs] | -idid | -all} [-force] [ -dump] [-quiet | -verbose]

Related information