diff --git a/roles/desktop/templates/backup.sh b/roles/desktop/templates/backup.sh index 3dd9d60..725b3c6 100644 --- a/roles/desktop/templates/backup.sh +++ b/roles/desktop/templates/backup.sh @@ -36,7 +36,7 @@ fi # WE MAKE BACKUP NOW SERGEI for dir in /home/*; do username="$(basename -- "$dir")" - forcefile="$dir/.backup/forcemontly" + forcefile="$dir/.backup/force" [ -d "$dir/.backup" ] || continue for file in "$dir/.backup/"*; do [ -e "$file" ] || continue; done tar czhf "$OUTDIR/desktop-$username-{{ inventory_hostname }}-$(date -Iseconds).tar.gz" "$dir/.backup/"*