ScheduleCloudBackups by djr

Cloud backups (Amazon S3) for ProcessWire.

ProcessWire - ScheduleCloudBackups

This module backs up your site to Amazon S3. Other storage providers may be supported in the future.

If mysqldump and tar are present on your PATH and can be run from PHP, they will be used. Otherwise, a pure-PHP fallback will be used to create the backups.

Not tested on Windblows.


Instructions for setting up S3


  1. If you haven't already, create an AWS account.
  2. Log in to the S3 Management Console.
  3. Click 'Create Bucket', give it a name, choose a region, and hit 'create'.
  4. Next, head to the IAM Management Console and create a new user. Be sure to note down the security credentials shown, they will not be shown again.
  5. Select the user you just created, then in the permissions tab, choose 'Attach User Policy'.
  6. Choose 'Custom Policy', give it a name, and paste in the IAM policy shown below these steps, substituting YOUR_BUCKET_NAME with the bucket name chosen in step 3.
  7. Fill in the access key ID, secret access key, and bucket name in the ScheduleCloudBackups module config.
  8. Don't forget to set up a cron job to run the backup task!

IAM Policy

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:*",
      "Resource": [
          "arn:aws:s3:::YOUR_BUCKET_NAME/*",
          "arn:aws:s3:::YOUR_BUCKET_NAME"
      ]
    }
  ]
}

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #544
    In the 150th issue of ProcessWire Weekly we'll check out brand-new third party module called Inputfield Dependency Helper, share some recent highlights from the support forum, and more. Read on!
    Weekly.pw / 12 October 2024
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

“We were really happy to build our new portfolio website on ProcessWire! We wanted something that gave us plenty of control on the back-end, without any bloat on the front end - just a nice, easy to access API for all our content that left us free to design and build however we liked.” —Castus, web design agency in Sheffield, UK