Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

what's the use case for backing up running containers? the code in the docker image is immutable (or should be), config goes into .env file and permanent data should go to a mounted volume in the host or an external database, so what do you want to backup?


ok, how do you backup your database volumes? when db is running.


same as if the database binary is running in the host? no difference with the db binary running in a container.


Looks like you never run docker compose in prod.


I do, and use the same tooling for Postgres containers as when running Postgres outwith containers - WAL-E.


I have, for several years, let me know what I'm missing :-)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: