Created
April 9, 2015 02:29
-
-
Save yukpiz/536c2c5dbbf9c1ccfa1f to your computer and use it in GitHub Desktop.
PostgreSQL database restore command.
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
#!/bin/sh | |
pg_restore -h {host} -d {database} -U {user} -p {port} backup.dmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment