Fix syntax (oops)
This commit is contained in:
parent
e651396604
commit
ddac9fe542
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user