How To Copy A Backup In AWS Backup Service

How To Copy A Backup In AWS Backup Service

How To Copy A Backup In AWS Backup Service

Hello Everyone

Welcome to CloudAffaire and this is Debjeet.

AWS Backup is a regional service and you may get into a situation where you need to copy the backup from one region to another. Or your application architecture uses pilot light disaster recovery technique and you need to configure a continuous copy of the backup from one region to another region. In AWS backup, you can either define your backup copy configuration directly in your backup plan which solved the continuous copy of backup from one region to another or you can also initiate an ad-hoc backup copy job to copy a backup as per your own requirement. If your account is part of AWS organization, then you can also copy a backup from one member account to another member account in your organization.

In this blog post, we will discuss how to copy a backup from one region to another region in AWS backup service. We are going to create a EBS volume in the source region which we will then backup in the source region default backup vault and finally we will copy this backup to target region’s default backup vault.

How To Copy A Backup In AWS Backup Service:

Prerequisites:

  • AWS CLI installed and configured with proper access. You can use below link to install and configure AWS CLI.

https://cloudaffaire.com/how-to-install-aws-cli/

https://cloudaffaire.com/how-to-configure-aws-cli/

Step 1: Create an IAM role for the backup service.

Step 2: Create a new EBS volume in the source region.

Step 3: Create a backup of the EBS volume in the source region.

Note: The backup job may take some time to get completed, please refere the “State” section in the output and proceed to next step when its “COMPLETED”.

Step 4: Validate the backup by checking if a recovery point was created for your backup.

Step 5: Copy the backup from source region to target region.

Note: It may take some time to complete the copy backup job, please refer the “State” section in the output of the above command when its “COMPLETED” proceed to next step.

Our copy backup job successfully executed and now we should have a recovery point in the traget region using which we can restore the EBS volume in the target region.

How To Copy A Backup In AWS Backup Service

Step 6: Validate the backup copy in the target region.

We have successfully copied the backup from one region to another in AWS backup service.

How To Copy A Backup From One Region To Another In AWS

Next, we will delete all the resources created in this demo.

Step 7: Clean up.

Hope you have enjoyed this article. To know more about AWS Backup, please refer below official documentation

https://docs.aws.amazon.com/aws-backup/index.html

Leave a Reply

Close Menu