Created
February 23, 2021 08:20
-
-
Save SilentKernel/7659ef2c310d729e826108d90220d03b to your computer and use it in GitHub Desktop.
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 0 * * * mysqldump -h db -u ${MYSQL_USER} -p${MYSQL_PASSWORD} —databases ${MYSQL_DATABASE} —skip-comments > /home/backups/backup_$(date +\%Y\%m\%d\%H\%M).sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment