Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Connect to postgres
- PGPASSWORD="pass" psql -h localhost -p 5432 -U user -d db-name
- # Dump from postgres
- PGPASSWORD="pass" pg_dump -h localhost -p 5432 -U user -F c -b -v -f filename-it-can-be-db-name.dump db-name
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement