Mysql DB backup emailben

mysqldump -e --user=A_DB_USERE --password=A_DB_JELSZAVA dbneve | gzip | uuencode db_backup.gz | mail -s "DB Backup `date`" email@cimem.com

Ennyi.

Itt találtam: http://bornvirtual.com/code/automatically-backup-your-mysql-database-to-e-mail/

Tags: , , ,

Comments are closed.