Skip to content

Instantly share code, notes, and snippets.

@seb
Created January 4, 2011 09:19
Show Gist options
  • Save seb/764575 to your computer and use it in GitHub Desktop.
Save seb/764575 to your computer and use it in GitHub Desktop.
ssh deploy@yourproject.com "mysqldump -u root -p yourproject_production" | mysql -u root yourproject_development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment