Created
March 27, 2025 14:18
-
-
Save wasdee/d0c875f32bbfc1525f177a281b5095db to your computer and use it in GitHub Desktop.
db dump
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pg_dump -h dev_host -U dev_user -d dev_db -- no-owner -- no-privileges -f db_dev.sql | |
psql -h 127.0.0.1 -U local_user local_db -f db_dev.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment