Perl and PHP scripts for local or remote MySQL database backups