From c750d6402faffa9bccef23e36f234fdc52163bfa Mon Sep 17 00:00:00 2001 From: Philipp Rothmann Date: Tue, 16 Nov 2021 11:44:10 +0100 Subject: [PATCH] fix s3 restic_repo --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index 64fdd52..fc0fb22 100755 --- a/backup.sh +++ b/backup.sh @@ -36,7 +36,7 @@ fi if [ -n "$s3_key_file" ] && [ -f "$s3_key_file" ] && [ -n "$AWS_ACCESS_KEY_ID" ]; then AWS_SECRET_ACCESS_KEY="$(cat "${s3_key_file}")" export AWS_SECRET_ACCESS_KEY - restic_repo="s3:$restic_host$server_name" + restic_repo="s3:$restic_host:/$server_name" fi if [ -z "$restic_repo" ]; then