Last active
December 4, 2015 09:45
-
-
Save Gamblt/592a9b1d168c7306e906 to your computer and use it in GitHub Desktop.
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
| Clients | |
| http://www.sqltabs.com/ - cool postgresql client with chats drawing and sharing | |
| http://dbeaver.jkiss.org/ - universal client | |
| Backup DB | |
| #!/bin/bash | |
| #MySQL Dump | |
| mysqldump DBNAME > dump-$( date '+%Y-%m-%d_%H-%M-%S' ).sql --single-transaction -u USERNAME -pPASSWORD | |
| #PostgreSQL Dump | |
| PGPASSWORD="PASSWORD" pg_dump -h localhost -U USERNAME --encoding UTF8 DBNAME -f pgdump-$( date '+%Y-%m-%d_%H-%M-%S' ).sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment