borgmatic: error: argument : invalid choice: 'compact' #624
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#624
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?
Thanks for the awesome tool!
What I'm trying to do and why
Use borgmatic to compact a repository
Steps to reproduce (if a bug)
$ borgmatic compact
Actual behavior (if a bug)
Expected behavior (if a bug)
borgmatic compacts the repository
Other notes / implementation ideas
N/A
Environment
borgmatic version:
1.5.20
borgmatic installation method:
apt install borgmatic
Borg version:
borg 1.2.0
Python version:
Python 3.10.6
Database version (if applicable): N/A
operating system and version:
Linux ubuntu 5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Time to upgrade borgmatic! 😄 The "compact" feature was introduced in borgmatic 1.5.23. I see that you installed via
apt
in Ubuntu, which may or may not have a newer version of borgmatic available. So you might consider one of the other installation methods which would have newer versions. Failing that, you can tryborgmatic borg compact
with your existing installation.Hope that helps!
Thanks a lot, I appreciate the thorough reply! I'm using the LTS version of Ubuntu server (Jammy Jellyfish), for which the latest borgmatic version published is
1.5.20-1
Yup, that package is controlled by the Ubuntu maintainers, so unfortunately it isn't always up to date. I merged your PR, so I'll call this done for now! Let me know if you need help with anything else.