Nakivo Backup & Replication: storing backups on Amazon S3

nakivo-backup-amazon-s3-01

Nakivo Backup & Replication allows to store backups on Amazon S3 to ensure the protection and the integrity of the data in case of a disaster allowing to fulfill the 3-2-1 backup rule providing an offsite backup.

To store backups on Amazon, Nakivo requires a backup repository in Amazon S3 accessible via NFS.

nakivo-backup-amazon-s3-02

 

Configure the AWS environment

To configure a NFS share in Amazon S3, the following AWS components must be configured to meet the requirements:

  • AWS Gateway appliance
  • S3 Bucket to store the backups
  • File shares to enable the NFS access

Refer to this post to create and configure these components in AWS environment.

To access the NFS share in Amazon S3, Nakivo needs the Squash level set to All squashes. By default AWS creates this parameter set to Root squash and needs to be changed.

Login to AWS Management Console with your account and select Storage Gateway option under Storage area.

nakivo-backup-amazon-s3-03

Access the File shares area and select the share to edit. Click Actions button and select Edit file share settings option.

nakivo-backup-amazon-s3-04

From the drop-down menu, set the Squash level field as All squash then click Save.

nakivo-backup-amazon-s3-05

When the configuration has been saved, double check Squash level is set to All squash.

nakivo-backup-amazon-s3-06

 

Create an Amazon S3 repository in Nakivo

Login to Nakivo Backup & Replication by entering the correct credentials.

nakivo-backup-amazon-s3-07

From the Dashboard click on Settings icon to access the software configuration.

nakivo-backup-amazon-s3-08

Select Repositories from the menu.

nakivo-backup-amazon-s3-09

Click Add Backup Repository and select Create new backup repository option.

nakivo-backup-amazon-s3-10

Enter the requested parameters to connect the NFS share on AWS and click Create.

To access the NFS share on AWS, enter the path in the format:

IP_address_AWS_gateway:/aws_s3_nfs_share

nakivo-backup-amazon-s3-11

The AWS S3 repository has been created successfully.

nakivo-backup-amazon-s3-12

 

Storing backups on Amazon S3

From the Dashboard click on Create menu and select Backup copy job option.

nakivo-backup-amazon-s3-13

Select the VMs to copy to AWS and click Next.

nakivo-backup-amazon-s3-14

From the Select Backup Repository drop-down menu select the created AWS repository and click Next.

nakivo-backup-amazon-s3-15

Specify a Schedule then click Next.

nakivo-backup-amazon-s3-16

Specify the desired Retention and click Next.

nakivo-backup-amazon-s3-17

Enter a Job name and click Finish to save the configuration.

nakivo-backup-amazon-s3-18

To run the backup copy immediately, right click the job and select Run Job.

nakivo-backup-amazon-s3-19

Click Run to confirm.

nakivo-backup-amazon-s3-20

The task is being executed.

nakivo-backup-amazon-s3-21

The backup copy has completed successfully.

nakivo-backup-amazon-s3-22

Checking the AWS S3 Bucket used as repository, you can notice the NakivoBackup folder has been created to store backups.

nakivo-backup-amazon-s3-23

This solution allows you to copy VM backups offsite for disaster recovery purposes leaving local VM backups for fast recovery.

signature