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"
|
echo "Backing up $db"
|
||||||
path="$backupdir/$db.pgsql.gz"
|
path="$backupdir/$db.pgsql.gz"
|
||||||
sudo -u postgres pg_dump "$db" \
|
sudo -u postgres pg_dump "$db" \
|
||||||
| gzip -v9 >
|
| gzip -v9 \
|
||||||
"$path"
|
> "$path"
|
||||||
DIRS+=("$path")
|
DIRS+=("$path")
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user