From 43e446cfa2b717026fae1e04c3b1a604573e7e83 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Mon, 19 Dec 2022 17:10:10 -0600 Subject: [PATCH] Bandaid fix for s3 backups --- roles/backup/templates/s3backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/backup/templates/s3backup.sh b/roles/backup/templates/s3backup.sh index 8d1e6b4..b84c911 100644 --- a/roles/backup/templates/s3backup.sh +++ b/roles/backup/templates/s3backup.sh @@ -63,7 +63,7 @@ if [ -n "${DIRS[*]}" ]; then --exclude "{{ item }}" \ {% endfor %} "${DIRS[@]}" \ - | aws s3 cp - \ + | aws s3 cp --expected-size 274877906944 - \ "s3://{{ backup_s3_bucket }}/{{ inventory_hostname }}/$(date "+{{ backup_dateformat }}").tar.gz" fi