Created
May 15, 2014 19:37
-
-
Save kishorevaishnav/9b53eee58eadf7c1ce6d to your computer and use it in GitHub Desktop.
Restore Postgres tbz file.
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
bunzip2 <filename>.tbz | |
pg_restore --clean -U <db_user_name> -d <database_name> -F tar -v <filename_tar_file>.tar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment