Setting Up Backup and Recovery

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:

Get hands-on with 1400+ tech skills courses.