For anyone who is interested, you can also set up S3 tools ( http://s3tools.org/s3cmd) to securely upload these backups to Amazon S3. I can dig up an example script if you're interested.
Best, Matt Thomas Founder betweenbrain <http://betweenbrain.com/>™ Lead Developer Construct Template Development Framework<http://construct-framework.com/> Phone: 203.632.9322 Twitter: @betweenbrain Github: https://github.com/betweenbrain On Wed, Sep 26, 2012 at 10:30 AM, Janet Sullivan <jmsulliva...@yahoo.com>wrote: > Geoffrey: > > Thanks for sharing this. I do manually do cpanel backups for all my > clients and always assumed > that there was a way to set up a cron job, but never had time to look into > it. > > This is great, thanks! > Janet > ------------------------------ > *From:* Geoffrey Schaller <gjschal...@psi-13.com> > *To:* NYPHP SIG: Joomla <joomla@lists.nyphp.org> > *Sent:* Tuesday, September 25, 2012 3:49 PM > *Subject:* [joomla] Two useful links for backing up your cPanel site > > This isn't directly related to Joomla, but is handy for anyone who wants > to do an automated backup of their server / site / cPanel account. > > The first is a command / script that runs a complete backup of your cPanel > account, and sends it to a remote location. While working with a cPanel > dump is not pretty / fun, it's good to have in case something happens to > your hosting provider, and they lose your account / shut down / etc. (i.e. > - you can't trust them, and you need to restore to another provider from a > recent backup). NOT ALL PROVIDERS enable the backup function - BlueHost > does not, for example - since it makes it easy to migrate away from them. > Check with your hosting provider to see if they allow full cPanel backups. > I run this once a week for each cPanel account, and have it FTP the files > down to a storage device at my home (since it's "off-site" for my host, and > they are all personal sites). > > > http://www.justin-cook.com/wp/2006/12/27/automatic-cpanel-backup-domain-mysql-with-cron-php/ > > > +++ > > The second is a script that dumps a copy of your mySQL databases, and > sends them to a remote location (email, FTP, etc.). It will even clean up > after itself, so you only keep the past 4 days, etc. This one, I run > nightly, and it FTPs the files to my storage device at home again. If I > need to do a restore, the worst I lose is 24 hours worth of content. > > > http://www.ameir.net/blog/archives/48-MySQL-Backup-to-FTP-and-Email-Shell-Script-for-Cron-v2.2.html > > > +++ > > For my home storage solution, I use a ReadyNAS > <http://www.readynas.com/>device - they come in home use models, as well as > professional models that > mount in a rack in a datacenter. They're designed to just store a large > amount of data in a very friendly way, and serve it up with several methods > (local network browsing, FTP, Web Interface, etc.). > > -- > Geoffrey Schaller > gjschal...@psi-13.com > > _______________________________________________ > New York PHP SIG: Joomla! Mailing List > http://lists.nyphp.org/mailman/listinfo/joomla > > NYPHPCon 2006 Presentations Online > http://www.nyphpcon.com > > Show Your Participation in New York PHP > http://www.nyphp.org/show_participation.php > > > _______________________________________________ > New York PHP SIG: Joomla! Mailing List > http://lists.nyphp.org/mailman/listinfo/joomla > > NYPHPCon 2006 Presentations Online > http://www.nyphpcon.com > > Show Your Participation in New York PHP > http://www.nyphp.org/show_participation.php >
_______________________________________________ New York PHP SIG: Joomla! Mailing List http://lists.nyphp.org/mailman/listinfo/joomla NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php