Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Let's say that I have 50GB of off site storage and my VPS has a hard drive of 30GB. If I wanted to back-up my entire VPS (take note that cPanel/WHM is installed) every 24 hours, how would I do so and which method is the best? I have noticed a lot of people use a software called R1Sync but I'm not familiar with this at all.

share|improve this question
up vote 2 down vote accepted

You don't specify the server's OS, but if it is running unix/linux I would use rsync. It has the capability to only backup file changes and new files.

Now, if I was the one configuring it, I would have ssh on the backup server configured to use public key authentication for the webserver. I would then configure a cronjob to run as often as I needed.

The rsync command would look something like:

rsync -az -e ssh user@remotehost:/path/on/remote/host /path/to/backup/

Of course, if you put the command in cron, it is a good idea to redirect the standard output and standard error.

rsync -az -e ssh user@remotehost:/path/on/remote/host /path/to/backup/ &> /var/log/rsync-backup.log

Also, what are you trying to backup your VPS for? (hardware failure, accidentally deleted files, etc)

If you decide to use rsync, I would suggest reading up on all of the capabilities available.

share|improve this answer
Sorry for not specifying the OS, I'm running CentOS 5.6. I would use the backup for hardware failure. Cheers for the heads up on RSYNC! – Dean May 22 '11 at 13:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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