Backup and Restore

Backing up one database

Restoring backups

Backing up the whole cluster

Using psql to export data

Using Copy to import

Using Copy to export