Skip to content

Instantly share code, notes, and snippets.

@eiriksm
Created July 27, 2014 11:42
Show Gist options
  • Save eiriksm/a82f797a40d7b7466027 to your computer and use it in GitHub Desktop.
Save eiriksm/a82f797a40d7b7466027 to your computer and use it in GitHub Desktop.
ssh to drush sql-cli
$ ssh myuser@remotemachine.com "drush --root=/path/in/remote/server sql-dump" | drush sql-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment