Amazon Backup
This section provides information about setting up and using Amazon Backint agent to backup and restore your SAP HANA databases to Amazon Backup.
Topics
Prerequisites
The following prerequisites must be completed before to use Amazon Backint Agent for SAP HANA to backup and restore SAP HANA databases to Amazon Backup. For more information, see Get started with Amazon Systems Manager for SAP and Register your SAP HANA databases with Amazon Systems Manager for SAP .
-
Set up required permissions for Amazon EC2 instance running SAP HANA database
-
Set up required permissions for Amazon EC2 instance for backup and restore of SAP HANA database
-
Register SAP HANA database credentials in Amazon Secrets Manager
-
Register your SAP HANA databases with Amazon Systems Manager for SAP
Install and configure Amazon Backint Agent for SAP HANA
Topics
Amazon Systems Manager Agent (SSM Agent)
To install the Amazon Backint agent with the Amazon Systems Manager Agent (SSM Agent) document, you must install the Amazon Systems Manager Agent (SSM Agent) version 2.3.274.0 or later, and your instance must be a managed instance that is configured for Amazon Systems Manager. For more information about managed instances, see Amazon 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.
-
Go to https://console.amazonaws.cn/systems-manager/
> Shared Resources > Documents. -
Search for the AWSSAP-InstallBackintForAWSBackup document.
-
Select Run command.
-
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.
-
-
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. -
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 Amazon Backup from Amazon S3
You can switch your storage media to be Amazon Backup if you have Amazon 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 Amazon Backup.
To make the switch from Amazon S3 to Amazon Backup, you must reinstall Amazon Backint agent with Systems Manager document. The AWSSAP-InstallBackintForAWSBackup document replaces existing Amazon Backint agent with a newer version that supports Amazon Backup. For more details, see the preceding section Systems Manager document.
Once the switch-over is complete, setup Amazon Systems Manager for SAP for an automated backup solution. For more information, see Get started with Amazon Systems Manager for SAP.
You can now create a backup plan or perform on-demand backups. For more information, see Backup Operations in the Amazon Backup console.
Backup and restore your SAP HANA system with the Amazon Backint Agent for SAP HANA
For details about backup and restore of your SAP HANA databases on Amazon Backup, see SAP HANA databases on Amazon EC2 instances backup.