About Schedule Cloud Backups

Cloud backups (Amazon S3) for ProcessWire.

Category 1Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Category 2Import/Export
Modules that work with importing or exporting data.
Category 3Proof of Concept
Proof of concept modules are designed as examples or starting points for others to build from. May not be ideal for users wanting to plug-n-play.
Category 4Other Modules
Modules that have a unique purpose not covered by existing categories.
Release StateBeta
Close to stable, but users are advised to be cautious and test thoroughly.*
Authordjr
Module Version0.0.2
Class NameScheduleCloudBackups
Compatibility2.4, 2.5, 2.6, 2.7
Date AddedJuly 16, 2014
Last UpdatedMay 12, 2015
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

This module's files should be placed in /site/modules/ScheduleCloudBackups/
How to install or uninstall modules

README

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"
      ]
    }
  ]
}

Comments

No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.