'run-after-fail' does not send request, if the backup can not be created due to resticprofile process still running #419
-
We're using the
In these scenarios, Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes: it is a bit of a chicken and egg issue. The lock always comes first, and all targets are running inside the lock. I was thinking about giving a choice in the configuration: either There's a diagram showing the whole process: https://creativeprojects.github.io/resticprofile/configuration/run_hooks/index.html#order-of-run--during-a-backup |
Beta Was this translation helpful? Give feedback.
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