Created
March 18, 2016 20:05
-
-
Save kevmo/11a52cf6d70b83af5969 to your computer and use it in GitHub Desktop.
Get a pg_dump from a remote server to your local machine
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
`ssh -i whatever.pem [email protected]` | |
`sudo -su postgres` | |
`cd ~` # gotta get out of the centos home directory | |
`exit` | |
`exit` | |
From your local machine: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment