From 10fa2de780d9f76ce5293a0952266eeb52f6c317 Mon Sep 17 00:00:00 2001 From: Marco Kundt Date: Wed, 25 Nov 2020 13:19:26 +0100 Subject: [PATCH] for some reason the password needs to be exported --- restic/.bin/restic_backup | 1 + 1 file changed, 1 insertion(+) diff --git a/restic/.bin/restic_backup b/restic/.bin/restic_backup index 486b5ba..5cd7711 100755 --- a/restic/.bin/restic_backup +++ b/restic/.bin/restic_backup @@ -1,6 +1,7 @@ #!/bin/bash source $HOME/.bin/restic_common +export RESTIC_PASSWORD="${RESTIC_PASSWORD}" restic -r $RESTIC_REPOSITORY unlock