How to route Pagely site backups to your own S3 bucket

How to route Pagely site backups to your own S3 bucket

All of your WordPress sites on Pagely are automatically backed up nightly and made available for download via your Atomic dashboard interface. Did you know you can set it up so your backups also automatically accrue under your own Amazon S3 account?

There are a number of reasons why you might want to do this, the primary two being:

You want to keep your backups for longer than the 14 days we retain them.

Your company requires that you keep all backups on-site behind your company firewall.

In this tutorial I show you the steps necessary to make it so your backups go to your AWS S3 account. In a future post we’ll cover some of the more advanced things you can do such as:

Creating your own custom retention policies to expire old backups and conserve costs.

Setting up a rule to push backups over X days old to AWS Glacier for long-term storage saving additional costs on long-term retained backups.

Creating a process for automatically pulling down nightly backups so a copy resides behind your company firewall.

But first thing is first: If you haven’t already done so, create your AWS account on Amazon

After creating your account, follow our guide to creating an S3 bucket.

Once your new S3 bucket is created, This is the code you will need to paste and edit for your security policy:

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1467134621000",
"Effect": "Allow",
"Action": [
"s3:PutObject"
],
"Resource": [
"arn:aws:s3:::pagely-example-s3-backup-bucket/*"
]
}
]
}

Lastly, submit a support ticket with the following:

  • S3 secret
  • S3 key
  • Bucket name
  • Region for bucket location (Amazon Regions)

Allow 1-2 days for backups to begin accruing after submitting the ticket with your credentials.

Hopefully you found this useful. Stay tuned for a future tutorial that will teach you some of the more advanced things you can do now that you have your backups routing to your S3 account.

If you’re not already signed up to receive our monthly email update with useful tips like this you can do so right below this post.

New Posts in your inbox