The restore running mode provides a means of performing a restore
of a dump from
to a PostgreSQL container database.
pgrestore to run as pg_restore job
|Name of the database to connect to.
|Hostname of the database to connect to.
|Password for the PostgreSQL role being used.
|Username for the PostgreSQL role being used.
|Hostname of the PostgreSQL server that was backed up by
pgdump container. Used when restoring a backup to a new host.
|Timestamp of the backup to restore from.
|Advanced options to pass into
|Port of the PostgreSQL database to connect to.
|Set this to true to enable debugging in logs. Note: this mode can reveal secrets in logs.
PGRESTORE_CUSTOM_OPTS variable, see the official documentation.
Dump-file Input Location
As the input files for crunchy-pgrestore, files generated by crunchy-pgdump are retrieved in a mounted backup volume location, using the database host name plus -backups as a sub-directory, then followed by a unique backup directory based upon a date/timestamp. It is left to the user to restore database dump archives in this current version of the container.