Last active
May 21, 2019 09:28
-
-
Save v-vashchenko/3d6e02da98a579e8adc608fa75680874 to your computer and use it in GitHub Desktop.
Postgresql dump load
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
//load | |
psql -d db_name < file_name.sql | |
//upload | |
pg_dump -U user_name -W -C db_name -t table_name > file_name.sql | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment