Actually we should probably push to the right directory, that sounds like a good idea
This commit is contained in:
parent
8956555ac1
commit
347c04c223
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user