Skip to content

Instantly share code, notes, and snippets.

@kevmo
Created March 18, 2016 20:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kevmo/11a52cf6d70b83af5969 to your computer and use it in GitHub Desktop.
Save kevmo/11a52cf6d70b83af5969 to your computer and use it in GitHub Desktop.
Get a pg_dump from a remote server to your local machine
`ssh -i whatever.pem centos@93.93.1.203`
`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