From 21ceaed9f657b104a87a673c17e5688c68bc34a5 Mon Sep 17 00:00:00 2001 From: matthias Date: Mon, 24 Feb 2020 21:34:53 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Ebackup.sh=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index 96c4818..68e55f9 100644 --- a/backup.sh +++ b/backup.sh @@ -54,7 +54,7 @@ if [ "$AWS_USE_MINIO" -eq 1 ] ; then aws configure set default.s3.signature_version s3v4 AWS_ENDPOINT_OPTION=--endpoint-url https://${MINIO_ENDPOINT} fi -aws ${AWS_ENDPOINT_OPTIOM} s3 cp ~/$BACKUP_FILENAME.gpg s3://$S3_BUCKET_NAME/$BACKUP_FILENAME.gpg --storage-class DEEP_ARCHIVE || healthchck_fail "Upload Failed" +aws ${AWS_ENDPOINT_OPTION} s3 cp ~/$BACKUP_FILENAME.gpg s3://$S3_BUCKET_NAME/$BACKUP_FILENAME.gpg --storage-class DEEP_ARCHIVE || healthchck_fail "Upload Failed" rm ~/$BACKUP_FILENAME.gpg echo "done"