Error in borgmatic init on an existent but empty repository with Borg 1.4.0 #896
Loading…
x
Reference in New Issue
Block a user
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 rcreate
errors 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.py
where 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!