How to Backup and Restore PostgreSQL Database
PostgreSQL uses the pg_dump utility to back up the database. To backup a PostgreSQL database, log into the database server, then switch to the Postgres user account, and run pg_dump as follows: $ pg_dump racknerd > racknerd.sql The pg_dump supports other output format by using the “-F” option, where c means custom format archive file, […]