How to Upload Your WordPress Backup to Amazon S3 | Total Upkeep
Last updated on

Total Upkeep WordPress Backup Plugin

Keeping your WordPress backups in a secure, remote location is an important part of keeping your Website safe from harm. With the Total Upkeep plugin’s Premium Extension, you can use Amazon’s Simple Storage Service (S3) to safely store your WordPress backups in case anything happens to your web server.

Why Amazon S3?

Amazon S3 is designed to have 99.999999999% durability and is extremely affordable. With S3, you pay for what you use in a scaling fashion, which makes it a perfect solution for websites of all sizes to keep secure offsite backups.

How to Configure Amazon S3 Storage

  1. You must already have an AWS account set up in order to follow these instructions.
  2. Sign into your AWS Management Console, and navigate to Security, Identity, and Compliance ➡ IAM.
  3. Click on Users in the left-hand menu, then click Add User.
  4. Name your new user and click Programmatic Access, then click Next: Permissions.
  5. Choose Attach existing policies directly.
  6. Type AmazonS3FullAccess into the filter and select the matching policy, then click Next: Tags.
  7. Click Next: Review, then Create User.
  8. Copy the Access Key ID and Secret Access Key to a safe location. This is the only time you will have access to them without creating new credentials.
  9. Log into your WordPress Dashboard and navigate to Total Upkeep ➡ Settings ➡ Backup Storage.
  10. Next to Amazon S3, click Configure.
  11. Paste your Access Key ID and Secret Access Key into the corresponding fields, and click Save Settings.
  12. Exit the pop-up settings menu, check the box next to Amazon S3, and click Save Settings.

Pasting Amazon S3 Access Keys into Total Upkeep

Congratulations! Your WordPress Backups will now be securely saved on Amazon S3 so you can rest easy knowing your website is safe.

 

PREMIUM FEATURE

Total Upkeep Premium 

   3 Remote Storage Options
   Additional Tools + Single File Restorations

These instructions require the Premium Upgrade.

6 thoughts on “How do I upload my WordPress backup to Amazon S3?

    • Hi Andy-
      You can build a custom role with these permissions:

      {
          "Version": "2012-10-17",
          "Statement": [
              {
                  "Effect": "Allow",
                  "Action": [
                      "s3:ListBucketMultipartUploads",
                      "s3:CreateBucket",
                      "s3:ListBucket"
                  ],
                  "Resource": "arn:aws:s3:::*"
              },
              {
                  "Effect": "Allow",
                  "Action": [
                      "s3:PutObject",
                      "s3:GetObjectAcl",
                      "s3:GetObject",
                      "s3:AbortMultipartUpload",
                      "s3:DeleteObjectVersion",
                      "s3:PutObjectVersionAcl",
                      "s3:GetObjectVersionAcl",
                      "s3:DeleteObject",
                      "s3:PutObjectAcl",
                      "s3:GetObjectVersion"
                  ],
                  "Resource": "arn:aws:s3:::*/*"
              },
              {
                  "Effect": "Allow",
                  "Action": "s3:ListAllMyBuckets",
                  "Resource": "*"
              }
          ]
      }
      

      You can omit the DeleteObject and DeleteObjectVersion if you want to manage your backup retention yourself, rather than letting the plugin delete old backups for you. You can also strengthen this permission set by creating the bucket yourself, and specifying the bucket name in your Total Upkeep settings, then only allowing the permissions to that specific bucket (replace */* with mybucket/*). Then you can also omit the CreateBucket permission.

        • Hi Andy-
          I haven’t tested the permissions without ListAllMyBuckets, it’s possible that might have an error or at least a warning when it searches your account for the right bucket. You don’t need CreateBucket as long as you’ve specified the bucket name for a bucket you’ve already created. Let us know if you try it without ListAllMyBuckets and it works for you or if you have any issues.

    • Hi MJ-
      At this time, Total Upkeep can’t automatically save to a Glacier “Vault” the same way that it saves to an S3 “Bucket,” but if you would like to utilize this lower-cost storage option, you can use Amazon’s Lifecycle Management features to automatically transition your backup storage from your buckets to your vaults.

Leave a Reply

Your email address will not be published. Required fields are marked *