diff --git a/backup.sh b/backup.sh index 78520d5..dbaa663 100644 --- a/backup.sh +++ b/backup.sh @@ -56,6 +56,6 @@ echo "done" # On first month day do if [ "$month_day" -eq 1 ] ; then echo "make monthly backup" - aws s3 cp s3://$S3_BUCKET_NAME/$BACKUP_FILENAME.gpg s3://$S3_BUCKET_NAME/$BACKUP_FILENAME_MONTHLY.gpg --storage-class DEEP_ARCHIVE || (curl --retry 3 https://health.d1v3.de/ping/8183024f-0aa5-4e19-90a2-c1325a5408ae/fail && exit 1) + aws s3 cp s3://$S3_BUCKET_NAME/$BACKUP_FILENAME.gpg s3://$S3_BUCKET_NAME/$BACKUP_FILENAME_MONTHLY.gpg --storage-class DEEP_ARCHIVE || healthchck_fail fi healthchck_ok