running into issues in catalina 10.15.7 when setting up env variables for the restic backup application to run in B2 backend. The need was to have the B2_ACCOUNT_ID and B2_ACCOUNT_KEY in the enviorment variable for the restic backup to use , not temporarily but permanently .
- i opened and edited the bash profile following the instructions at the restic documents and himanshu’s medium post .
The ~/bash_profile now exists and displays the edited files in nano
-however when i use the echo command it shows the variable (B2_ACCOUNT_ID) but no value for the variable (B2_ACCOUNT_ID) . And the restic application also throws this error
Fatal: unable to open B2 backend: Account ID ($B2_ACCOUNT_ID) is empty
also the printenv command does not display the variable nor its value .