Answers for "postgresql backup"

SQL
3

postgres make sql dump

pg_dump -U username dbname > dbexport.pgsql
Posted by: Guest on July-08-2020
1

backup postgres database

pg_dump -h localhost -U postgres -W -d mydb > mydb.sql
Posted by: Guest on July-07-2021
1

postgre db backup command line

sudo pg_dump -h <host> -u postgres <db_name> -Z 9 > <backup_file_name>.sql.gz
Posted by: Guest on September-17-2021

Code answers related to "postgresql backup"

Code answers related to "SQL"

Browse Popular Code Answers by Language