

1·
1 day agoMy backup tooling just shuts down the container and associated db, then rysncs it all somwhere safe and restarts the container. Am I missing somethoing critical by not doing a db dump in the middle of that?


My backup tooling just shuts down the container and associated db, then rysncs it all somwhere safe and restarts the container. Am I missing somethoing critical by not doing a db dump in the middle of that?


I do the same. If the docker container has problems with db I can just shut it down and fix the db from my desktop then start docker again. That has saved me starting again from scratch several times.
If you are going to try Linux from a USB drive as suggested by others here try and get a USB3 drive. Most of the cheap USB drives are USB2 which is really too slow to be of use.
The last thing I want is database corruption. That is why I “docker compose down” before I make a backup then “docker compose up” when the backup is complete. Is that not good enough? Do I have to do something else?