Skip to Content
author's profile photo Former Member
Former Member

HANA backup retention


My question is where do we set the backup retention period for SAP HANA. I am unable to find what is the current value set for the retention period and need to change as we are getting backup log full alerts in the HANA studio. Any help will be appreciated.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Feb 16, 2017 at 02:33 AM


    You have to housekeep your log / data backups yourself. Log backups are automatic if configuration global.ini -> persistence -> log_mode = normal.

    For data backups there's a new way of scheduling them through HANA cockpit.

    Other than that, you can check the script provided on sap Note 1651055 to schedule backups and set retention for data backups.

    This was already discussed in the past:


    Lucas de Oliveira

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 24, 2019 at 05:40 AM

    The backup retention is defined in your backup software. If you want to delete the backups from the backup catalog: at the moment there is no automatic job to delete old backups from the catalog. You have to write a script for that yourself.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.