Created
February 9, 2020 13:34
-
-
Save albertoammar/845e0eae1ae2be7cc92937d76e5f2d16 to your computer and use it in GitHub Desktop.
Mysql/Mariadb docker backup and restore.
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
# Backup | |
docker run mariadb /usr/bin/mysqldump -h localhost -u root --password=root DATABASE > backup.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment