-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB save/restore #1
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Investigate save:
docker exec gremcat-mysql sh -c 'exec mysqldump --all-databases -uroot -p"$MYSQL_ROOT_PASSWORD"' > localdata/all-databases.sql
and restore:
docker exec -i gremcat-mysql sh -c 'exec mysql -uroot -p"$MYSQL_ROOT_PASSWORD"' < localdata/all-databases.sql
as means of providing some pre-packaged data with the container.
The text was updated successfully, but these errors were encountered: