-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

PostgreSQL 10 High Performance
By :

PostgreSQL allows you to perform backups in a traditional way or through the continuous archiving and point-in-time recovery mode. Through the Point-In-Time Recovery (PITR), PostgreSQL is able to bring the database back to any point in the past.
pg_dump
is a utility for backing up a PostgreSQL database. It makes consistent backups even if the database is being used concurrently. pg_dump
does not block other users accessing the database (readers or writers). It only dumps a single database. To back up global objects that are common to all databases in a cluster, use pg_dump_all
.
The dump can be made in a script or file formats. Script files are plain-text files containing the SQL commands required to reconstruct the database to the state it was in at the time it was saved. File formats can be used by pg_restore
to rebuild the database.
To choose which format to use, you can select the output format using the -F
option followed by:
p
: Plain—output a plain-text SQL script file (the...