Skip to content

Instantly share code, notes, and snippets.

@albertoammar
Created February 9, 2020 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save albertoammar/845e0eae1ae2be7cc92937d76e5f2d16 to your computer and use it in GitHub Desktop.
Save albertoammar/845e0eae1ae2be7cc92937d76e5f2d16 to your computer and use it in GitHub Desktop.
Mysql/Mariadb docker backup and restore.
# 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