How To Automate Your cPanel Website & Database Backups
May 7th, 2007 by Matthew Jabs
If you have your website hosted on a Linux box, then you should be familiar with cPanel. I’m writing this post to help you easily automate the backup of your website & databases (including your entire “homedir” or home directory). Once you put this backup procedure into place, you will have daily backups of your entire website/database, etc. These backups will be timestamped & sent to your FTP server of choice. You don’t have to send them to an FTP server, however I do recommend it. Now that it’s so easy to host your own FTP server, it is definitely in your best interest. Also, even though your webhost most likely has a disaster recovery plan in place, it never hurts to have off site backups.
Although the cPanel gives us “Backup” functionality (by clicking on Backup in the main menu…go figure), the backups themselves must be run manually. While this is fine for some websites, other websites require daily backups that need to be automated, like eJabs.
To enable & automate this process please visit this post by my friend Vanessa. Vanessa works for my web hosting company, and provides excellent support. She wrote this .php page that you call via a cron job. If you don’t understand, just visit her page, she explains everything in easy-to-follow steps.Thanks Vanessa, you’re awesome!Now you can feel secure knowing your website & databases are being backed up daily!
If you're new here, or you just enjoy the content, you may want to subscribe to my Email Alerts or RSS feed. Thanks for visiting!
Email This Post
Related Entries: My Favorite Unpopular Posts - Meme | Free Password Manager | Earn Money Online | Top (must have) WordPress Plugins - Part II | Full Web Building Tutorials - All Free |
Posted in: Do-It-Yourself, Education, How To, Linux, Open-Source, Technology, Wordpress, blogging, diy, howto, web-design | 1,965 views |














Nice post Matt. I have been emailing the database backups to my gmail every night but have been manually backing up the wp installation! This is going to be nice..
It is very nice K, and honestly, out of all the posts I’ve written lately, and since a lot of my readers are bloggers, I really thought the popularity of this post would soar.
I have never been good at telling what people will like when it comes to posts I’m afraid.
I searched all over the internet for this & never found anything…I got this script from a cool girl that does support for my web hosting company.
[...] How To Automate Your cPanel Website & Database BackupsIf you have your website hosted on a Linux box, then you should be familiar with cPanel. I m writing this post to help you easily automate the backup of your website & databases (including your entire homedir or home directory). … [...]
What does the ping on #3 have to do with the topuic at hand? LOL… Pingback marketing! I love it!
Thor:
Are you new to blogging? A pingback is when someone at another website links to my post…wordpress recognizes it as a “pingback”…how long have you been blogging?
I’ll have to check out your site.
[...] Hari reminded me that some hosts offer automated backups on their servers as well and Matthew reminded me about his post on using cPanel (if your host uses it) to back up the entire website, [...]
[...] if cron jobs are enabled, you can automate the backup and ftp to a remote server with this script. Matt at eJabs pointed this out a while back and I have since used this useful script by [...]