-
-
Save tvass/e6e1776f2a1d9f50ec4cdc6137d3eb86 to your computer and use it in GitHub Desktop.
pg backup command
This file contains 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 localhost -U dci -d dci -Fc > backup | |
pg_restore -h localhost -U dci -d dci --clean backup |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment