-
Hi there, I just set up a backup for a docker compose application (consisting of a server and a postgres database) and wanted to make sure the server is stopped before the backup takes place. I thought of the following workflow:
After checking the logs, I assume So there is currently no possibility to execute a custom command after stopping the labeled containers but before archive step? For now I settled with stopping and archiving the postgres data-volume (while postgres is still running, but with the server stopped I assume all open connections/transactions should have been terminated before the archive starts), but I wanted to ask about this usecase. Best regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is correct as of now, yes. I wonder whether it would make sense to add a |
Beta Was this translation helpful? Give feedback.
This is correct as of now, yes. I wonder whether it would make sense to add a
stop
lifecycle phase, but then this creates a nested ordering, which hasn't been there yet. Not sure.