Run two-stages backups (#1)

1. Download to a local directory, archive/encrypt there
1. Push encrypted archive to remote folder

This helps when the backup destination is e.g. a NFS drive.

Also, introduce harder checks and fix some flaws.

Reviewed-on: #1
Co-authored-by: Max Mehl <mail@mehl.mx>
Co-committed-by: Max Mehl <mail@mehl.mx>
This commit was merged in pull request #1.
This commit is contained in:
2023-12-13 12:22:54 +01:00
committed by mxmehl
parent 6da9f1fabc
commit 8faea3fef1
4 changed files with 58 additions and 24 deletions

View File

@@ -68,6 +68,4 @@ while read -r line; do
echo "[SUCCESS] SSH login possible for ${RHOST}."
fi
echo
done < "$HOSTS"