Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mysqldump -ce --user=uname --password=pass --dump-date database-name | gzip | uuencode $(date +"%e")_sql_bakup.gz | mail mail@example.com -s "MySQL Backup for $(date +"%A, %B %d, %Y") at $(date +"%H:%M")"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement