Skip to content

Instantly share code, notes, and snippets.

@crmaxx
Created December 23, 2015 11:42
Show Gist options
  • Save crmaxx/c4c47ceae4403dc8dd3d to your computer and use it in GitHub Desktop.
Save crmaxx/c4c47ceae4403dc8dd3d to your computer and use it in GitHub Desktop.
bzip2 -d -c file.bz2 | PGPASSWORD=pass /opt/metasploit/postgresql/bin/pg_restore -h localhost -U user_name -d db_name -Fc -O
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment