Created
July 28, 2017 07:06
-
-
Save andmetoo/1e8ddd612cdd4aefe6af85b4894ff1cc to your computer and use it in GitHub Desktop.
Mysql backup crontab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 */6 * * * mysqldump --single-transaction --lock-tables=false -ubackup -pxp3VG9QceKMPdHYQXLqLbfigmKbn storm_pd1 | gzip -c | ./snapshot storm_pd1.sql.gz > ~/storm_pd1_dump.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment