Setting Up Backup and Recovery

Learn about various methods for creating and restoring backups in PostgreSQL.

Creating backups with pg_dump

The pg_dump utility is a command-line utility that creates a logical backup of a PostgreSQL database. To create a backup using it, we need to open a terminal and run the following command:

Access this course and 1400+ top-rated courses and projects.