Backup and Restore a PostgreSQL Database

Backup :
Backup database in .sql file and with role from dropdown

Restore :

C:\Program Files\PostgreSQL\9.4\bin>psql -U postgres db_cpm <C:\CPM\cpm.sql

Comments

Popular posts from this blog

C# DataTable to List Convert

EncryptDecrypt Web config c#