Borgmatic runs any underlying borg command twice #386
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#386
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
When I run any borgmatic commands that calls borg, it runs them twice.
Steps to reproduce (if a bug)
Run
borgmatic list
for example, and see that it runs the underlying borg command twice, showing the output twice. Same goes when making a backup: it makes the backup twice. But runningborgmatic --version
for instance only shows the output once. Same forborg --version
: runs only once.Actual behavior (if a bug)
Expected behavior (if a bug)
Run only once.
Other notes / implementation ideas
Environment
borgmatic version: 1.5.1
Use
sudo borgmatic --version
orsudo pip show borgmatic | grep ^Version
borgmatic installation method: I think I used pip
Borg version: 1.1.15
Use
sudo borg --version
Python version: Python 3.8.5
Use
python3 --version
Database version (if applicable): [version here]
Use
psql --version
ormysql --version
on client and server.operating system and version: Ubuntu 20.04.1
Oh nevermind, I'm an idiot. I had the same config file in my home and in
/etc/borgmatic.d
and that's why it was running it twice: once for each config file!Glad to hear you figured it out! Was just about to suggest something like that.