Unable to export key with native "borgmatic borg ..." command #515
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#515
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
Export encryption repokey
Steps to reproduce (if a bug)
borgmatic borg key export
Actual behavior (if a bug)
Prints error message:
Expected behavior (if a bug)
Show exported key.
Other notes / implementation ideas
Environment
borgmatic version: 1.5.24
borgmatic installation method: Custom pyinstaller for Debian 11, installed with ansible.
Borg version: 1.2.0
Python version: 3.9.2
operating system and version: Debian 11/bullseye
Thanks for reporting this! Unlike other borg commands,
borg key
has a sub-command (export
, etc.). borgmatic was passing it to Borg in the incorrect order, resulting in the error you included above. This has now been fixed in master and will be part of the next borgmatic release.Released in borgmatic 1.6.0!