Deleting Backups Using SAP HANA Tools

To configure retention policies for SAP HANA backups, you can use the SAP HANA housekeeping options:

Important

If you delete backups from a backup catalog using scripts or SAP HANA Studio and don't select the option to delete backup physically from the backup location, backups will remain in the backup repository. In this case, we recommend to enable the options for physical deletion of backups in used SAP HANA retention tools or you must enable the force deletion feature of Veeam Plug-in for SAP HANA. Otherwise, you will run out of space on the backup repository.

Manual Deletion of Backups in SAP HANA Studio

For details, see this SAP article.

To physically delete the backups, you must select the Catalog and Backup Location option. Note that if you have physical backups in both the file system and a Veeam backup repository, you can choose to delete data backups in only one location.

Configuring Retention Policy in SAP HANA Cockpit

For details, see this SAP article. Note that the retention policy functionality is supported only in SAP HANA 2.0 SPS03 and later versions.

When you configure a retention policy in SAP HANA Cockpit, make sure that you have selected the Also delete physically from Backint check box in the Options for Backup Deletion section. Otherwise the backups will not be deleted from the repository.

Deletion of Catalog and Backups Using Scripts

Deletion of catalog and backups using scripts. For details see this SAP article.

To physically delete backups from the backup repository, you must include the WITH BACKINT and WITH FILE options in the script.

Page updated 1/24/2024

Page content applies to build 12.3.0.310