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…
http://fiddyp.co.uk/cpanel-backups-to-amazon-s3/
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:
http://s3tools.org/repo/RHEL_6/s3tools.repo
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:
mkdir restore
s3cmd -r get s3://yourbucketname/2011-02-32/filename.gz restore