PostgreSQL database
If your host not have pg_dump
you need install it first.
- Red Hat / CentOS: https://www.postgresql.org/download/linux/redhat/
Follow the guides to Install the repository RPM, and then run:
host
- server host, default:localhost
database
- database nameusername
- default:root
Restore Database
$ psql -U postgres -d your-database -f /path/to/your-backup.sql