Last active
December 23, 2015 11:43
-
-
Save crmaxx/b2c64edd48b22b629502 to your computer and use it in GitHub Desktop.
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
PGPASSWORD=pass /opt/metasploit/postgresql/bin/pg_dump -h localhost -U user_name -b -Fc db_name | bzip2 -c > `date +"%Y-%m-%d_%H_%m_%s"`.bz2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment