Configuring Force Deletion of Backups

In the main scenario, when using Veeam Plug-in for SAP HANA, you must configure the retention policy using native SAP HANA tools. For details, see Retention of SAP HANA Backups.

Veeam Plug-in for SAP HANA has a functionality that automatically force deletes backup files which are older than specified number of days. For example, you can use it if a backup repository contains backup files that are no longer in the backup catalog.

If you use SAP HANA 2.0 SPS 7 and you set Veeam Plug-in for SAP HANA to force delete backup files, consider that Veeam Plug-in will also delete backups that are flagged by as retained using SAP HANA functionality.

To enable force deletion of backup files, do the following:

  1. On the SAP HANA server, run the following command.

SapBackintConfigTool --set-force-delete

  1. Enter the number of days after which Veeam Plug-in will force delete backup files on all configured Veeam backup repositories.

Garbage collector automatically deletes backup files older than the specified number of days.

Make sure the number of days value exceeds your retention policy.

To disable this functionality, set the number of days to 0.

Enter the number of days to delete backups after, between 7 and 999 [0]:

By default, the force delete functionality is disabled (set to 0).

Important

  • A value for the number of days setting must be at least 1 backup generation period longer than the retention period for your SAP HANA backups. Otherwise, Veeam Plug-in will delete earliest backups created within the retention period.
  • If a backup repository contains backups older than the specified retention period, Veeam Plug-in removes old backup files only after the next run of the Backint backup.
  • If you use SAP HANA 2.0 SPS 7, Veeam Plug-in will be able to force delete backups that are flagged as retained. To learn more about the flag, see this SAP article.

Page updated 9/6/2023

Page content applies to build 12.2.0.334