garethgeorge / backrest

Backrest is a web UI and orchestrator for restic backup.
GNU General Public License v3.0
1.34k stars 40 forks source link

Fatal: wrong password or no key found #507

Open Gt1ult opened 2 weeks ago

Gt1ult commented 2 weeks ago

I am using backrest v1.5.1 in docker. My backup is inside USB external HDD. I have this error:

error: failed to get snapshots for plan: get snapshots for plan "Backup_local": command "/bin/restic-0.17.1 snapshots --json -o sftp.args=-oBatchMode=yes --tag plan:Backup_local,created-by:..." failed: exit status 12 Output: Fatal: wrong password or no key found

It works with Restic CLI but not in Backrest.

Why do I have this error? I am sure the password is correct.

Thanks so much.

garethgeorge commented 5 days ago

This means that a repo wasn't found at the set location. If using docker ensure that your paths are right and are mounted into docker correctly.