Answers for "backup postgres database linux command line"

SQL
1

backup postgres database

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

how to take database dump in postgresql

pg_dump dbname > outfile
Posted by: Guest on May-12-2020
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 "backup postgres database linux command line"

Code answers related to "SQL"

Browse Popular Code Answers by Language