Created
February 7, 2019 07:55
-
-
Save yglodt/21eaf5521c3297d104e7de77e6addedd 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
#!/bin/sh | |
pg_dump --verbose --host db.host.name --username myuser --file ~/mydatabase-`date +%Y%m%d-%H%M%S`.dump -F c mydatabase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment