Nakivo Backup & Replication: store backups in AWS S3

Nakivo Backup & Replication: store backups in AWS S3

nakivo-store-backups-in-aws-s3-01

To fulfill the 3-2-1 backup rule, Nakivo Backup and Replication provides the support for cloud object storage in order to save backups in AWS S3.

Feature already available from previous version, the overall procedure is pretty simple and requires just few minutes to be configured.

nakivo-store-backups-in-aws-s3-02

 

Prepare the AWS S3 environment

Before saving Nakivo backups in AWS, you need to create the appropriate Bucket to configure the backup repository.

Login to AWS and click the link IAM under Security, Identity, & Compliance.

nakivo-store-backups-in-aws-s3-03

 

Create the permissions Policy

We need to create a Policy to assign the required permissions to the Bucket used as backup repository.

From the IAM dashboard, click Policies in the left pane.

nakivo-store-backups-in-aws-s3-04

Click Create policy.

nakivo-store-backups-in-aws-s3-05

Select the JSON tab and enter the following code:

{
“Version”:”2012-10-17″,
“Statement”:[
{
“Sid”:”statement1″,
“Effect”: “Allow”,
“Action”: [
“s3:Get*”,
“s3:List*”,
“s3:PutObject”,
“s3:DeleteObject”
],
“Resource”: [
“*”
]
}
]
}

Click Review policy when done.

nakivo-store-backups-in-aws-s3-06

Specify the Policy Name and optionally a Description. Click Create policy.

nakivo-store-backups-in-aws-s3-07

The policy has been created successfully.

nakivo-store-backups-in-aws-s3-08

 

Create a new User

Now access the Users section and click Add User to create the user needed to access the Bucket.

nakivo-store-backups-in-aws-s3-09

Specify a User name and enable the Programmatic access option. Click Next: Permissions at the bottom right.

nakivo-store-backups-in-aws-s3-10

Permissions are assigned later using a dedicated group we are going to create. Click Next: Tags.

nakivo-store-backups-in-aws-s3-11

Click Next: Review.

nakivo-store-backups-in-aws-s3-12

In the Review page check your configuration then click Create user.

nakivo-store-backups-in-aws-s3-13

The user has been created successfully. Write down Access Key ID and Secret access key since they will be required during the Nakivo AWS repository configuration.

nakivo-store-backups-in-aws-s3-14

 

Create a new Group

Access the Groups section and click Create New Group.

nakivo-store-backups-in-aws-s3-15

Enter a Group Name and click Next Step at the bottom right.

nakivo-store-backups-in-aws-s3-16

Select the policy previously created (use the Filter to easily find the policy) then click Next Step.

nakivo-store-backups-in-aws-s3-17

Click Create Group.

nakivo-store-backups-in-aws-s3-18

When the group has been created, select the group then click on the Group Actions drop-down menu. Select Add Users to Group.

nakivo-store-backups-in-aws-s3-19

Select the user to add to the group and click Add Users.

nakivo-store-backups-in-aws-s3-20

 

Create the Bucket

Final step is the creation of the Bucket used to store the backups. Click S3 under Storage.

nakivo-store-backups-in-aws-s3-21

Click Create Bucket.

nakivo-store-backups-in-aws-s3-22

Enter the Bucket Name and specify the Region.

nakivo-store-backups-in-aws-s3-23

Click the just created group name to assign the ACL.

nakivo-store-backups-in-aws-s3-24

Specify the user allowed to access the Bucket then click Save changes.

nakivo-store-backups-in-aws-s3-25

 

Configure the AWS S3 repository

To configure the AWS S3 in Nakivo, you need first to add the AWS account to the Inventory. Access the Configuration > Inventory area and click Add New. Select AWS/Wasabi account to specify the account needed to access the Bucket.

nakivo-store-backups-in-aws-s3-26

Enter a Display Name then the Access key ID and the Secret access key noted during the creation of the AWS account. Click Add.

nakivo-store-backups-in-aws-s3-27

The AWS S3 account has been created.

nakivo-store-backups-in-aws-s3-28

Now access the Repositories tab and click Add Backup Repository > Create new backup repository.

nakivo-store-backups-in-aws-s3-29

Select Amazon S3 and click Next.

nakivo-store-backups-in-aws-s3-30

Enter the Name for the repository, select the previously created AWS Account, AWS Region and the Bucket used to store the backups. Click Next.

nakivo-store-backups-in-aws-s3-31

Specify the requested options if any then click Add.

nakivo-store-backups-in-aws-s3-32

The AWS S3 object storage repository has been created successfully.

nakivo-store-backups-in-aws-s3-33

 

Create the Backup Job

Once the repository has been created, it is now possible to create a new Backup Job to save the backups in AWS S3. From Nakivo’s dashboard, select Create > VMware vSphere backup job.

nakivo-store-backups-in-aws-s3-34

Select the VMs to backup and click Next.

nakivo-store-backups-in-aws-s3-35

Select the created AWS repository from the Destination drop-down menu. Click Next.

nakivo-store-backups-in-aws-s3-36

Specify the desired Schedule and click Next.

nakivo-store-backups-in-aws-s3-37

Enter the Job name and required options.

nakivo-store-backups-in-aws-s3-38

Click Finish & Run then select Run for all VMs > Run to run the backup immediately.

nakivo-store-backups-in-aws-s3-39

The backup job is being executed.

nakivo-store-backups-in-aws-s3-40

After some minutes, depending on the VMs to protect and the available bandwidth, the job completes successfully.

nakivo-store-backups-in-aws-s3-41

Looking at the AWS repository in Nakivo, you can check the stored backups in the repository.

nakivo-store-backups-in-aws-s3-42

The backup stored in the AWS’s Bucket.

nakivo-store-backups-in-aws-s3-43

Saving Nakivo backups directly in AWS S3 allows you to secure your corporate data to an external location adding an extra protection in case of a disaster in the local repository.

signature

Copyright Nolabnoparty. All Rights Reserved.

Discover more from UBERCLOUD

Subscribe now to keep reading and get access to the full archive.

Continue reading