-
-
Couldn't load subscription status.
- Fork 40
Open
Description
I'm having the problem that the service which uses my mysql service uses the root user and creates new databases on demand.
When I schedule an automatic backup of the mysql service (or just run mysql:export, comes down to the same command) this only exports the database which is called like the service.
But I want to backup all my databases, or specify which databases I want to backup.
I think it would be easier to backup everything by changing the mysqldump command to use the root user and the --all-databases flag here:
Line 97 in 686f692
| docker exec "$SERVICE_NAME" mysqldump --defaults-extra-file=/root/credentials.cnf --user=mysql "$SERVICE" |
Metadata
Metadata
Assignees
Labels
No labels