After upgrading from 1.7.14-1.fc37 to 1.7.15-1.fc37 --override storage.upload_rate_limit=5000 gives a configuration error #731
Labels
No Label
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#731
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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'm trying to do and why
after upgrading borgmatic-1.7.14-1.fc37.noarch
to borgmatic-1.7.15-1.fc37.noarch
I run my nightly backup command:
borgmatic --override storage.upload_rate_limit=5000 create --verbosity 0 --stats
and I get an error:
Need some help? https://torsion.org/borgmatic/#issues
Steps to reproduce
# borgmatic --override storage.upload_rate_limit=5000 create --verbosity 2 --stats
Actual behavior
Expected behavior
backup to run as per previous versions...
Other notes / implementation ideas
my config has this override in the storage section, see blow:
borgmatic version
1.7.15
borgmatic installation method
dnf
Borg version
1.2.4
Python version
3.11.4
Database version (if applicable)
No response
Operating system and version
NAME="Fedora Linux" VERSION="37 (Workstation Edition)"
Thanks for filing this! What you're experiencing here is an issue that I believe is fixed in borgmatic 1.8.0. So you can either upgrade or you can move the
create
argument of your command to really anywhere else in your command-line. The problem is thatcreate
is being incorrectly interpreted as a second--override
value, so if you putcreate
either before the--override
flag or after--verbosity 2
or--stats
, then it should work.Perfect the re-ordering of the command options works perfectly.
I will upgrade later, for now this fixes my backups.
Thanks for this!
Sure thing!