I’m trying to use the password-file option to read my b2 credentials, but I’m running into a little trouble.
When I run restic with --password-file /home/me/passwd.txt
it returns the message:
"Fatal: unable to open B2 backend: Account ID ($B2_ACCOUNT_ID) is empty.
If I don’t specify the repo with the -r flag, but instead try to read that from the passwd.txt file, it gives me the message:
“Fatal: Please specify repository location”
So, it appears that restic is not accessing the passwd.txt file at all.
Can someone tell me the proper way to use the password-file flag? What is the correct syntax to use for the credentials in the password file?