Replies: 1 comment 1 reply
-
Hi -- this is interesting. I think this is a hook system omission today, feel free to file a feature request for this , hooks for CONDITION_FORGET_START, CONDITION_FORGET_SUCCESS, and CONDITION_FORGET_FAILED definitely make sense to me to include. As a side note, I'm very interested in how you're checking the lock status / to hear more about how well that's working with you? I've toyed with a similar idea but never pursued it, if it works well though it could be worth backrest supporting directly. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Gareth,
will there be someday a hook starting condition for the FORGET start?
I'm often get a Repo-locked error at the automatic start of the forget procedure, even after the snapshot was successful...
Because other clients had started a backup in between.
I made a little bash script for checking the lock status with CONDITION_SNAPSHOT_START, CONDITION_PURGE_START and CONDITION_CHECK_START and when locked it uses the ON_ERROR_RETRY_EXPONENTIAL_BACKOFF, which worked well.
BTW: https://garethgeorge.github.io/backrest/docs/hooks is missing the description of it.
Greetings
Beta Was this translation helpful? Give feedback.
All reactions