Skip to content

'run-after-fail' does not send request, if the backup can not be created due to resticprofile process still running #419

Answered by creativeprojects
Forcio asked this question in Q&A
Discussion options

You must be logged in to vote

Yes: it is a bit of a chicken and egg issue.

The lock always comes first, and all targets are running inside the lock.
This is by design: imagine you need to mount a network drive or something, if it's done outside the lock it might break another running task.

I was thinking about giving a choice in the configuration: either run-after-fail runs inside the lock, or outside, assuming the user understand the consequences.

There's a diagram showing the whole process: https://creativeprojects.github.io/resticprofile/configuration/run_hooks/index.html#order-of-run--during-a-backup

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Forcio
Comment options

Answer selected by Forcio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants