Fix trying to double-compress backups

This commit is contained in:
Salt 2020-07-11 09:08:46 -05:00
parent e93711a2f6
commit 5b74e64692

View File

@ -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