diff --git a/roles/desktop/templates/backup.sh b/roles/desktop/templates/backup.sh index ca5521b..cf88645 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" \ "$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