Access borg repositories in read only mode #388

Open
opened 2021-01-29 08:47:48 +00:00 by icrc-fdeniger · 1 comment

What I'm trying to do and why

Use borgmatic extract/list commands in a secured environement where borg repository are in read-only mode.
Borg add the option --bypass-lock to be compliant with read-only repository.

Other notes / implementation ideas

  1. Add extra-command for borg list / borg extract operation (--bypass-lock).
  2. A global configuration "Read-only" that will prevent all write operations

Environment

borgmatic version: [version here]

1.5.12

borgmatic installation method:
Docker

Borg version: [version here]

1.1.15

Python version: [version here]

Use python3 --version

operating system and version:
Alpine

#### What I'm trying to do and why Use borgmatic extract/list commands in a secured environement where borg repository are in read-only mode. Borg add the option --bypass-lock to be compliant with read-only repository. #### Other notes / implementation ideas 1. Add extra-command for borg list / borg extract operation (--bypass-lock). 1. A global configuration "Read-only" that will prevent all write operations #### Environment **borgmatic version:** [version here] 1.5.12 **borgmatic installation method:** Docker **Borg version:** [version here] 1.1.15 **Python version:** [version here] Use `python3 --version` **operating system and version:** Alpine
witten added the
good first issue
label 2023-03-27 04:13:40 +00:00
Owner

I apologize for the super lengthy delay in this getting any attention. A borgmatic list --bypass-lock flag seems like a good idea to me. But do you think it would be needed if there was a "read only" borgmatic configuration option as you suggest? That way borgmatic would be responsible for issuing --bypass-lock as needed. Or perhaps borgmatic could support both in order to handle one-off lock bypassing and global read-only use cases.

I apologize for the super lengthy delay in this getting any attention. A `borgmatic list --bypass-lock` flag seems like a good idea to me. But do you think it would be needed if there was a "read only" borgmatic configuration option as you suggest? That way borgmatic would be responsible for issuing `--bypass-lock` as needed. Or perhaps borgmatic could support both in order to handle one-off lock bypassing *and* global read-only use cases.
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#388
No description provided.