allow to pass --lock-wait SECONDS to borg #56

Closed
opened 2018-02-14 13:00:34 +00:00 by thomasleveil · 2 comments
Contributor

Borg accepts the following option:

--lock-wait SECONDS wait at most SECONDS for acquiring a repository/cache lock (default: 1).

which would be nice to have access to from borgmatic

Borg accepts the following option: > --lock-wait SECONDS wait at most SECONDS for acquiring a repository/cache lock (default: 1). which would be nice to have access to from borgmatic
Owner

Yup, that makes sense. Thanks for filing. Linking to the docs here for reference during implementation: https://borgbackup.readthedocs.io/en/stable/usage/general.html?highlight=lock-wait#common-options

Yup, that makes sense. Thanks for filing. Linking to the docs here for reference during implementation: https://borgbackup.readthedocs.io/en/stable/usage/general.html?highlight=lock-wait#common-options
Owner

This is now implemented in 2d3f5fa05d and released as part of borgmatic 1.1.15. You can configure this in the storage section of your config:

storage:
    ...
    # Maximum seconds to wait for acquiring a repository/cache lock.
    lock_wait: 5

Enjoy!

This is now implemented in 2d3f5fa05d47ee88d8e1f7817ff62ec69d89fad8 and released as part of borgmatic 1.1.15. You can configure this in the `storage` section of your config: ```yaml storage: ... # Maximum seconds to wait for acquiring a repository/cache lock. lock_wait: 5 ``` Enjoy!
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#56
No description provided.