Skip to content
  • Philippe Pepiot's avatar
    [server] set PGPASSWORD when running pg commands for backup and restore · 512536a40993
    Philippe Pepiot authored
    For db-dump (implied by upgrade) and db-restore with postgres with non-trusted
    authentication, the db password is asked by pg tools (pg_dump, pg_restore,
    createdb, dropdb).
    
    Avoid this behavior by setting the PGPASSWORD environment variable when
    database driver is postgres and db-password is set in sources file.
    512536a40993