From 5b74e64692e81bca75dae4f07ffde919bf4ce18c Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 11 Jul 2020 09:08:46 -0500 Subject: [PATCH] Fix trying to double-compress backups --- roles/desktop/templates/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/desktop/templates/backup.sh b/roles/desktop/templates/backup.sh index 4c16cef..0e4c069 100644 --- a/roles/desktop/templates/backup.sh +++ b/roles/desktop/templates/backup.sh @@ -54,7 +54,7 @@ for dir in /home/*; do --exclude "$dir/Nextcloud" \ --exclude "$dir/snap" \ f - "$dir/"* \ - | gzip -c | aws s3 cp - "s3://$s3bucket" \ + | aws s3 cp - "s3://$s3bucket" \ --recursive \ --only-show-errors \ --store-class STANDARD_IA