Actually we should probably push to the right directory, that sounds like a good idea

This commit is contained in:
Salt 2020-07-11 09:16:07 -05:00
parent 8956555ac1
commit 347c04c223

View File

@ -54,7 +54,7 @@ for dir in /home/*; do
--exclude "$dir/Nextcloud" \
--exclude "$dir/snap" \
"$dir/."* \
| aws s3 cp - "s3://$s3bucket" \
| aws s3 cp - "s3://$s3bucket/{{ inventory_hostname }}/desktop-$username-{{ inventory_hostname }}-$(date -Iseconds)-full.tar.gz" \
--only-show-errors \
--storage-class STANDARD_IA
else