type: postgresql uses pg_dump to produce a logical dump of one database.
Example
snapr.yaml
Options
Requirements
pg_dumpmust be installed on the snapr host and available inPATH. Install it from the official PostgreSQL apt repository or your distro’spostgresql-client-<version>package.- The configured user needs at least
CONNECTon the database andSELECTon every table being dumped — typically a dedicated read-only role.
Notes
extraParamskeys are prefixed with--. Use an empty string value for boolean flags.- The password is forwarded through
PGPASSWORD, so it never appears in the process listing.