Skip to Content
Author's profile photo Karsten Kötter

Backup and restore of HANA AWS server

Dear all,

recently I need to do a restore of our HANA server at AWS, so I thought my experience might be helpful for you.

BUT: I’M NOT AN AWS GURU, SO THIS PROCEDURE COMES WITHOUT ANY WARRANTY.

USE AT YOUR OWN RISK!

A. Server backup

1. Shutdown the ECS instance.

2. Create snapshots of all volumes:

EC2_01.png

Note: I suggest a meaningful name, also please note the linux device (e.g. /dev/sdb3) in the comment of each snapshot.

B. Server restore

1. Shutdown ECS instance.

2. Unattach the first volume.

3. Create new volume from your snapshot (which corresponds to the unattached volume of step 2):

EC2_02.png

4. Attach the new volume to the server, use correct linux device:

EC2_03.png

5. Go back to step 2 and repeat with the next volume (until all volumes are replaced from snapshots).

6. Start the server.

Hopefully everything is fine now!

C. Cleanup

Delete the old, unattached volumes.


Assigned Tags

      2 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Karsten,

      i'm planning on testing your approach when and if AWS goes up to v68+ (70?). i have missed 60 to 68 upgrade due to other AWS "features", but thanks for your write-up

      rgds,

      greg

      Author's profile photo Karsten Kötter
      Karsten Kötter
      Blog Post Author

      Hi Gregory,

      please share your test results!

      Best regards,

      Karsten