PostgreSQL Question:

How to take backup of database?

Tweet Share WhatsApp

Answers:

Answer #1/usr/local/bin/pg_dump mydatabase > mydatabase.pgdump

Answer #2pg_dump -h servername -U username -d dbname > dbname.sql

Download PostgreSQL PDF Read All 24 PostgreSQL Questions
Previous QuestionNext Question
How to list the number of database?How to create a PostgreSQL user?