-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BORG_PASSPHRASE not working as expected #67
Comments
I guess you're in the wrong repo here, you'd better post this depending on which (community) tool you actually use. Also I'd suggest using proper Markdown formatting available on GitHub, including for code blocks/console commands respectively it's output. This makes your post much more readable, and generally contributes to how a good question should be asked. |
Usually such issues are because the borg process does not "see" the env variable. Either because |
thanks for your answers, |
I don't think so. Maybe @witten can comment? |
If the problem only occurs when using borgmatic, then I recommend filing an issue here instead: https://torsion.org/borgmatic/#issues Please include your borgmatic configuration (redacted) and the logs you get when running with |
I have set environment variable for BORG_PASSPHRASE, in this way:
I got this issue:
With the command: "env" I saw:
I tried the export in different ways with: 'top_secret_passphrase', "top_secret_passphrase" and top_secret_passphrase. All ways shows the same issue like above.
If I try the
borg list
command with the right passphrase, then it works fine.I have:
What could be the problem?
Regards Bernd
The text was updated successfully, but these errors were encountered: