AWS Backup - SAP HANA on AWS

AWS Backup

This section provides information about setting up and using AWS Backint agent to backup and restore your SAP HANA databases to AWS Backup.

Prerequisites

The following prerequisites must be completed before to use AWS Backint Agent for SAP HANA to backup and restore SAP HANA databases to AWS Backup. For more information, see Get started with AWS Systems Manager for SAP and Register your SAP HANA databases with AWS Systems Manager for SAP .

Install and configure AWS Backint Agent for SAP HANA

AWS Systems Manager Agent (SSM Agent)

To install the AWS Backint agent with the AWS Systems Manager Agent (SSM Agent) document, you must install the AWS Systems Manager Agent (SSM Agent) version 2.3.274.0 or later, and your instance must be a managed instance that is configured for AWS Systems Manager. For more information about managed instances, see AWS Systems Manager Managed Instances. To update the SSM Agent, see Update SSM Agent by using Run Command.

Note

The SSM Agent will not work if you do not attach the AmazonSSMManagedInstanceCore policy to your Amazon EC2 instance role.

Systems Manager document

Ensure that your installed SSM Agent is running, and then follow these steps.

  1. Go to https://console.aws.amazon.com/systems-manager/ > Shared Resources > Documents.

  2. Search for the AWSSAP-InstallBackintForAWSBackup document.

  3. Select Run command.

  4. Specify the following parameters in Command parameters.

    • System ID – Enter a system ID for your SAP HANA database. For instance, HDB.

    • Installation Directory Confirmation – yes

    • Modify Global Ini File – modify

    • Confirm Log Backup Post Install – yes

    • Ensure No Backup In Process – yes

    You can retain the other parameters without any manual changes.

  5. Under Target selection, choose Choose instances manually, and search for the Amazon EC2 instance on which your SAP HANA database is running.

    Alternatively, you can select an instance with the SSMForSAPManaged: True tag.

  6. Run the AWSSAP-InstallBackintForAWSBackup SSM document.

The Run command takes a few minutes to complete. You can refresh the page to check the status. On successful completion, the Overall status and Detailed status display Success.

Switch to AWS Backup from Amazon S3

You can switch your storage media to be AWS Backup if you have AWS Backint agent setup with Amazon S3. Before you do that, ensure the following:

  • Scheduled data backups are disabled – these can fail during switch-over.

  • Scheduled backup from SAP HANA Cockpit, SAP HANA Studio or through SQL to stop log backups to Amazon S3 are disabled – these are re-enabled with AWS Backup.

To make the switch from Amazon S3 to AWS Backup, you must reinstall AWS Backint agent with Systems Manager document. The AWSSAP-InstallBackintForAWSBackup document replaces existing AWS Backint agent with a newer version that supports AWS Backup. For more details, see the preceding section Systems Manager document.

Once the switch-over is complete, setup AWS Systems Manager for SAP for an automated backup solution. For more information, see Get started with AWS Systems Manager for SAP.

You can now create a backup plan or perform on-demand backups. For more information, see Backup Operations in the AWS Backup console.

Backup and restore your SAP HANA system with the AWS Backint Agent for SAP HANA

For details about backup and restore of your SAP HANA databases on AWS Backup, see SAP HANA databases on Amazon EC2 instances backup.