Browse Source

Run postgresql backup as postgres user

master
Geoffrey Frogeye 1 month ago
parent
commit
8c37e9a179
Signed by: geoffrey <geoffrey@frogeye.fr> GPG Key ID: D8A7ECA00A8CD3DD
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ckupeye

+ 1
- 1
ckupeye View File

@@ -190,7 +190,7 @@ fi
if $EXPORT_POSTGRESQL
then
echo → Exporting PostgreSQL
pg_dumpall $EXPORT_POSTGRESQL_OPTIONS | _feedExport "$EXPORT_POSTGRESQL_FILE"
sudo -u postgres pg_dumpall $EXPORT_POSTGRESQL_OPTIONS | _feedExport "$EXPORT_POSTGRESQL_FILE"
EXPORT_FILES="$EXPORT_POSTGRESQL_FILE $EXPORT_FILES"
fi



Loading…
Cancel
Save