Re:Published a Book –> Talk Python in Production
by divbzero on Thursday October 09, 2025 @04:08PM
(#45532451)
You noted using persistent volumes for storing data, e.g.:
How do you manage data backup and restore?
[ Parent
| on HN ]
Re:Published a Book –> Talk Python in Production
by mikeckennedy on Thursday October 09, 2025 @07:04PM
(#45533942)
Hey, you just run whatever backup command you would regularly do via compose.
For example, if you run `sqldump --db umami ...` in regular postgres (which is what they are using IIRC), then you run:
docker exec umami "sqldump --db umami ..."
Or something almost exactly like this (just from memory here and I wrote that script a year ago).