From 0ffd8ef535f8a71f51f29f5da52bfec6da08eebd Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Sun, 19 Jan 2025 12:51:15 -0600 Subject: [PATCH] Add logging --- roles/backup/templates/s3backup.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/backup/templates/s3backup.sh b/roles/backup/templates/s3backup.sh index 6eaf00e..4bc0c81 100644 --- a/roles/backup/templates/s3backup.sh +++ b/roles/backup/templates/s3backup.sh @@ -91,8 +91,10 @@ if [ -n "${DIRS[*]}" ]; then {% endfor %} echo "Will upload resultant backups to {{ backup_s3_bucket }}" if command -v restic > /dev/null 2>&1; then + echo "Using restic for backups" backup ${DIRS[*]} else + echo "Using rudimentary tar and S3 for backups" for dir in "${DIRS[@]}"; do if [ "$dir" == "/data" ]; then for datadir in "$dir"/*; do