I wanted to back up my Cpanel accounts to Amazon S3 using WHM.
Unfortunately, WHM doesn’t do this by default. I found some paid solutions, but then I stumbled on Andy’s fantastic tutorial here…
There’s some minor changes you need to make. If you’re running CentOS 6 on WiredTree, you’ll need to change the Repo to:
That’s about it. The setup was very easy and it’s highly recommended.
Restoring a site using this method is quick and painless in case of disaster. You just SSH back into the server and enter this command:
s3cmd -r get s3://yourbucketname/2011-02-32/filename.gz restore