borgmatic info no longer giving specific archive information #577
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#577
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
previously, running
borgmatic info --archive latest
would include information about both the overall repository and also specific statistics about the latest archive, but as of version 1.7.0,borgmatic info
andborgmatic info --archive latest
produce identical output.Steps to reproduce (if a bug)
run
borgmatic info --archive latest
Actual behavior (if a bug)
Expected behavior (if a bug)
Other notes / implementation ideas
specifically i'm interested in the json formatted data, but it looks like the issue is the same for normal and json output
Environment
borgmatic version: 1.7.0
Use
sudo borgmatic --version
orsudo pip show borgmatic | grep ^Version
borgmatic installation method: pacman (arch linux)
Borg version: 1.2.2
Use
sudo borg --version
Python version: 3.10.6
Use
python3 --version
Database version (if applicable): [version here]
Use
psql --version
ormysql --version
on client and server.operating system and version: arch linux
Yikes, thank you for taking the time to report this! I've reproduced the regression locally. I'm guessing it was introduced in 1.7.0 as part of the changes for Borg 2. I'll look into it.
Okay, this is fixed now in master and will be part of the next release! The problem was that
borgmatic info
was passing the archive flag (or in this case, the--glob-archives
flag) to Borg, but only with Borg 2. Now that code path applies to Borg 1 as well.Thanks again for bringing this to my attention.
Just released in borgmatic 1.7.2!