borg does not consider BORG_KEY_FILE when prepending with sudo #8164
Unanswered
paniabhisek
asked this question in
Q&A
Replies: 2 comments 1 reply
-
As discussed on IRC: use This is not a borg issue, but related to sudo and the shell. |
Beta Was this translation helpful? Give feedback.
1 reply
-
man sudo (esp. man bash / man zsh (or whatever you use as shell) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When
BORG_KEY_FILE
is set,borg create
properly takes the path. Butsudo borg create
does not accountBORG_KEY_FILE
. Instead it search in/root/.config/borg/keys
Beta Was this translation helpful? Give feedback.
All reactions