BuycPanel Blog

BuycPanel Blog

Latest news and updates

1/27/2012 – Backups made easy with cPanel!

Posted by Jamison on 27 01 2012.

As a web host, you know just how important it is to do regular backups of your servers. cPanel makes backups easy and provides several options that we should all be familiar with. One very important feature that we should mention first is that cPanel can be configured to run backups automatically. You just have to set it up to do so by accessing the configure backup section of the software.


Only system files and directories are included in a backup by default. If you want more of your server included in the backup, you must enable account backups. This includes databases, DNS records, email filters and forwarders, as well as the contents of the home directory. When you enable account backups, anything that your users cannot access is not included in the backups. You can also select which user’s accounts are included in the backups as well.


You should also be aware that cPanel does not support backups that use rsync. One of the reasons for this is that in some cases rsync has been known to corrupt database backups.


As with most anything that is done with cPanel, there are logs of the backups. These backup logs are located at /usr/local/cpanel/logs/cpbackup.


One valuable feature of the cPanel backup system is that you choose where your backup files are stored. When we say valuable, we are saying that every hosting environment is different and each administrator has their own preference as to where they want the backups stored. Over the long-term, this is more convenient than if cPanel made the selection.


You set the schedule for automatic backups by editing the root’s crontab. The command for this is crontab –e from the command line.


While it may sound like an ancient idea, backing up your servers is not only good technical practice, but also good business. If an unforeseen event knocks your servers offline and destroys data, having a backup on hand can help put your servers back online and ready to do business. cPanel makes this possible.


Find more cPanel documentation here:
Order a cPanel License today!