Posted By

miziomon on 03/18/07


Tagged

mysql Bash


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

tylerhall
basicmagic
Leech
jamesming
umang_nine
mgerdt


mysqldump2mail


 / Published in: Bash
 

URL: http://maurizio.mavida.com

  1. mysqldump -u[utente] -p[password] [nomedatabase]| gzip --best -c > [nomedatabase].sql.gz && (date && echo "backup mysql" && uuencode [nomedatabase].sql.gz wordpress.sql.gz) | mail [miamail@dominio.ext] -s "backup mysql"

Report this snippet  

You need to login to post a comment.