From 347c04c223025543bb4fb89310c957db43239431 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 11 Jul 2020 09:16:07 -0500 Subject: [PATCH] Actually we should probably push to the right directory, that sounds like a good idea --- 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 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