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.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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:
docker-volume-backup.stop-during-backup
-labeldocker-volume-backup.[step]-[pre|post]
After checking the logs, I assume
docker-volume-backup.archive-pre
takes place before thearchive
action, as well as before thestop-during-backup
step. Anddocker-volume-backup.archive-post
takes place afterarchive
action, and also after the stopped containers have been restarted (so the dump is not within the backup).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.
All reactions