Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Restore Postgres tbz file.
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