Created
July 26, 2020 00:44
-
-
Save Turupawn/37fa37a47c2883229a36f0fa65fa9fc4 to your computer and use it in GitHub Desktop.
Dump Postgre database
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
cd /etc/postgresql/11/main | |
nano pg_hba.conf | |
service postgresql restart | |
pg_dump -U postgres -W -F t TodoLegalDB_Production --verbose > /root/dump.tar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment