Aurora Corporate documentation

Performing S3 storage backup

If you're using S3-compatible storage for files rather than built-in file storage, you may wish to perform your S3 storage backup as well, in addition to creating Aurora Corporate installation backup.

One of the tools that can be used for this purpose is s3cmd, it can be used with Amazon S3 as well as DigitalOcean storage. If you already have S3 storage integration configured, then you have access key and secret key, you'll need to supply them when running s3cmd --configure command.

The following command will create a new bucket and copy content of your existing one into it:

s3cmd mb s3://mybucket_backup
s3cmd --recursive cp s3://mybucket s3://mybucket_backup

 

You can also do it with AWS CLI tool:

aws s3 mb s3://mybucket-backup
aws s3 cp s3://mybucket s3://mybucket-backup --recursive

If you prefer getting a local backup of your bucket, that's done as follows:

aws s3 sync s3://mybucket /home/username/s3/mybucket/

To get a list of your existing buckets, run:

aws s3 ls