backup postgres database
pg_dump -h localhost -U postgres -W -d mydb > mydb.sql
backup postgres database
pg_dump -h localhost -U postgres -W -d mydb > mydb.sql
postgre db backup command line
sudo pg_dump -h <host> -u postgres <db_name> -Z 9 > <backup_file_name>.sql.gz
postgres backup of table
pg_dump --host localhost --port 5432 --username postgres --format plain --verbose --file "<abstract_file_path>" --table public.tablename dbname
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us