Shell script for backups of web server and SQL database
mardi 22 août 2006[Sécurité informatique]
This shell script performs a backup of your MySQL databases and of your entire web site, and sends the tar.gz archive by mail. All you need is a SSH access to the Unix/Linux web server. Using Cron, you can plan scheduled backups and receive them by email weekly, monthly, or at any time you want. Keep always a backup copy of your site and MySQL databases.
Thanks to www.prendreuncafe.com where you can find the original article in french, modified for 1and1 web hosting, where Mutt is not available. I used the Perl module MIME::Lite instead to send mails in MIME format.
Par Catageek. 22-08-06. 2 commentaires :: Faire un trackback
