Answers for "postgre db backup command line"

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 "postgre db backup command line"

Browse Popular Code Answers by Language