From ddac9fe542a58bca7828542d855f7b0ea875fa26 Mon Sep 17 00:00:00 2001 From: Jacob Babor Date: Mon, 20 Jan 2025 20:03:17 -0600 Subject: [PATCH] Fix syntax (oops) --- roles/backup/templates/s3backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/backup/templates/s3backup.sh b/roles/backup/templates/s3backup.sh index 22227c7..0197c21 100644 --- a/roles/backup/templates/s3backup.sh +++ b/roles/backup/templates/s3backup.sh @@ -94,8 +94,8 @@ if command -v psql > /dev/null 2>&1; then echo "Backing up $db" path="$backupdir/$db.pgsql.gz" sudo -u postgres pg_dump "$db" \ - | gzip -v9 > - "$path" + | gzip -v9 \ + > "$path" DIRS+=("$path") done fi