Extend extra_borg_options with other commands #1103
Labels
No labels
blocked
breaking
bug
data loss
design finalized
good first issue
new feature area
question / support
security
waiting for response
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
borgmatic-collective/borgmatic#1103
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What I'd like to do and why
Hello,
Please support more borg commands in the
extra_borg_optionsdict (I care aboutborg infospecifically).I'm using rsync.net for borg repositories, and starting from May 16 2025 they require extra args (specifically,
--remote-path) to be set when using borgbackup.Unfortunately, currently borgmatic does not have
borg infosupport in theextra_borg_optionsdict, and thus my usual flow of repo init/backup/check fails withOther notes / implementation ideas
Here is an excerpt from rsync.net's alert:
As discussed in previous announcements, we now require a "--remote-path" argument when using borg.
The backups (above) are likely failing at this moment and require minor command adjustments to restore proper functionality.
To fix this:
Adjust your borg command to add a "--remote-path" argument to indicate which branch you want to use, here are some examples:
borg list --remote-path=borg12 user@user.rsync.net:yourborgbackup
'borg12' will call the lastest version we offer in the 1.2.x series (currently 1.2.8)
borg list --remote-path=borg14 user@user.rsync.net:yourborgbackup
'borg14' will call the lastest version we offer in the 1.4.x series (currently 1.4.0)
The full list of 'borg' binaries and the corresponding "--remote-path" argument that may be called is:
--remote-path=borg0 (borg v0.29)
--remote-path=borg12 (1.2.x branch)
--remote-path=borg14 (1.4.x branch)
Please let us know if you have any questions about these changes.
Thank you for your continued business.
-rsync.net Support
Thanks for filing this. To add a remote path to all
borg infocommands that borgmatic issues, you can just set the existingremote_pathoption in configuration. If you find that that's not the case, please let me know.As for fleshing out
extra_borg_options, there's already a ticket for that: #427.Thank you for the details!
It looks like I've completely missed the existing
remote_pathconfig optionNo worries!