Backup & Restore pg DB

Backup the database using the following command:
pg_dump -U zabbix -F c zabbix > zabbix.dump

Restore the database using the following command:
pg_restore -U zabbix -d <dbname> ctfdb.dmp

Comments are closed.