Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14217 reviews 1686 hosting providers

Questions & Answers

How to do Daily Remote Backup on a cPanel Host

Mar 6, 2012 by hostnew
I want to do my own backups on my website. I really don't trust my current hosting to do the job properly  and I have had some bad experiences in the past.
How can I do that. I'm using Cpanel on a Hostgator account.

2 Answers

0 votes
Mar 6, 2012 by willie
Create a file in your /home/username/ directory named backup.php with the code below. Then setup a cron to run the file daily. We actually run it 4 times daily.

You don't need your own expensive FTP server either. I use an XP Pro machine with Filezilla server installed to it for our remote FTP server. The XP machine is located right next to my main workstation so I can burn copies to DVD if need be. I use port forwarding within my Verizon FIOS router to point the FTP port to the XP machine.

I can sleep at night now knowing I have a local copy of our most important data.

Don't rely on your hosting provider for backups. If you read most hosting providers' policies they're not responsible for them anyways.
0 votes
Mar 9, 2012 by Yuriy
Create a cron task to copy website content to some specific folder e.g today.date.year.