Error in borgmatic init on an existent but empty repository with Borg 1.4.0 #896
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 project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
borgmatic-collective/borgmatic#896
Loading…
Add table
Add a link
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'm trying to do and why
As discovered in https://github.com/borgmatic-collective/docker-borgmatic/issues/340,
borgmatic init/borgmatic rcreateerrors when trying to create a repository in an existent but empty directory with Borg 1.4.0.Steps to reproduce
test.yaml:
Actual behavior
Expected behavior
Other notes / implementation ideas
The problem is in
borg/rcreate.pywhere borgmatic is not looking for exit code 15 along with the other exit codes for missing repositories:borgmatic version
1.8.13 or main
borgmatic installation method
pipx install --editable
Borg version
1.4.0
Python version
3.12.4
Database version (if applicable)
No response
Operating system and version
Manjaro stable
Fixed in main and will be part of the next release!
Released in borgmatic 1.8.14!