Guest User

Untitled

a guest
Oct 26th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. # Backup
  2. docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql
  3.  
  4. # Restore
  5. cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE
Add Comment
Please, Sign In to add comment