PostgreSQL
type: postgresql — uses pg_dump to produce a logical dump of one database.
Prerequisites
pg_dumpmust be installed on the snapr host and available inPATH.- The major version of
pg_dumpshould match the PostgreSQL server version. A newer client can dump older servers, but an older client against a newer server will fail. - Install via the official PostgreSQL apt repo or your distro's
postgresql-client-<version>package. - The configured user needs at least
CONNECTon the database andSELECTon every table being dumped (typically a dedicated read-only role).
Fields
Example
Notes
extraParamskeys are prefixed with--. Use an empty string value for boolean flags.- The password is forwarded through
PGPASSWORDso it never appears in the process listing.