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