Backup & restore
Snapshots and AMIs
A common approach for backing up your SAP NetWeaver application servers is using snapshots and AMIs.
The SAP application data is stored on Amazon EBS volumes attached to the SAP NetWeaver application servers. You can back up the data on these volumes to Amazon S3 by taking point-in-time snapshots. Snapshots are incremental backups of Amazon EBS volumes, which means that only the blocks on the device that have changed after your most recent snapshot are saved. For more information, see Create Amazon EBS snapshots
An Amazon Machine Image (AMI) provides the information required to launch an instance along with a block device mapping of all Amazon EBS volumes attached to it.
Amazon EC2 powers down the instance before creating the AMI to ensure that everything on the instance is stopped and in a consistent state during the creation process. If you’re confident that your instance is in a consistent state appropriate for AMI creation, you can check the No Reboot option.
You can use Amazon Backup
aws ec2 create-image --instance-id i-1234567890abcdef0 --name "My server" --description "An AMI for my server"
Amazon provides a very simple and quick way to copy an SAP system. You can use the Amazon Console Home
Backup to Amazon S3
You can perform traditional file-based backup to Amazon S3 from your Amazon EBS volumes. One way to take backup is to use Amazon CLI and initiate it by using Amazon Systems Manager Run
command, so that you can centrally manage the backups.
Backup with third-party products
Many third-part products for Amazon services are certified by SAP. For more information, see Amazon SAP Competency Partners
Amazon EFS backup
Using Amazon Backup, you can centrally configure backup policies and monitor backup activity for Amazon resources, including Amazon EFS file systems.
Alternatively, you can perform a file-level backup of your Amazon EFS file system to Amazon S3. You can do this by running a file-level copy to Amazon S3 from any Amazon EC2 instance running in the same region. This can be automated and scheduled using Amazon Systems Manager Run Command
Backup and restore for ASE database
You must to regularly backup your operating system and database to recover them in case of any failure. Amazon Cloud provides various services and tools that you can use to backup your SAP ASE database.
Storage snapshots
You can backup your Amazon EBS volumes to Amazon S3 by taking point-in-time snapshots. Snapshots are incremental backups, which means that only blocks on the device that have changed after your most recent snapshot are saved. Snapshots of Amazon EBS volumes can be created for backup of SAP ASE database file systems.
See How to use snapshots to create an automated recovery procedure for SAP ASE databases
SAP ASE database backups
You can configure your SAP ASE database to store backups on Amazon EFS or local Amazon EBS volumes. You must configure regular backups for Amazon EFS. For more information, see Backing up your Amazon EFS file systems
You can also configure backups to be store on Amazon EFS volumes and to be regularly uploaded to Amazon S3. Use DBACOCKPIT
to schedule backup frequency. You can also use Amazon Systems Manager Maintenance Windows
Amazon SNS enables you to setup push notifications for success or failure. Once backups are stored in Amazon S3, you can use lifecycle policies to define data retention timeline. For more information, see Managing your storage lifecycle
You can improve Amazon S3 data upload performance with Gateway endpoints and Amazon CLI. For more information, see Gateway endpoints for Amazon S3
Review the following SAP Notes (portal access required) for more details.
To use third-party tools to backup your SAP ASE database, see Amazon Storage Competency Partners