Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to archive cPanel backups to Amazon S3 instead of FTP.

I've done some googling, but I'm not finding anything authoritative.

I found the following options:

  1. whms3backup.com - $250 for Unlimited Licenses
  2. List of S3 Backup scripts in cPanel Application Catalog
  3. Manual setup using s3tools

What do you think? What do you recommend or not recommend?

share|improve this question

closed as not constructive by Magellan, Skyhawk, Ward, Bryan, Michael Hampton Jan 5 '13 at 0:43

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers 3

I have not worked with cPanel but what I understand is that it is a bunch of static files (your website) and then the MySQL database.

You could install s3cmd tool -- http://s3tools.org/s3cmd on your server and use this tool to backup your website tar file and mysql dump tar file to S3.

You can write all of this in a simple bash script and run it via cron.

share|improve this answer
    
I listed this option as option 3. I'm looking for feedback from people who already have experience with these options not ideas on how it can be done. –  tarasm Aug 14 '12 at 21:14

We use s3backupwhm.com which seems to work really well. Got it running on 3 of our WHM servers with no real issues. No idea why S3 support isn't a core part of WHM yet!

share|improve this answer
    
s3backupwhm.com and whms3backup.com mentioned by the OP are the same service. –  Deer Hunter Jan 4 '13 at 17:51

Login to WHM and go to "Configure Backup." All the way at the bottom are the options for the backup destination. You can choose either FTP or a destination on the local filesystem (for example "/root/backups"). Chose the local filesystem and then just configure s3cmd to run via a cron job to replicate that directory to S3.

/root/s3cmd/s3cmd sync --recursive --delete-removed /root/backups/cpbackup/daily s3://rbn-cpanel/daily_backups

Each backed-up CPanel account is a separate gzipped tarball so it makes this pretty easy.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.