Skip to content

Instantly share code, notes, and snippets.

@jeremyfelt
Last active August 29, 2015 14:02
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 jeremyfelt/e689b854f4290b52b5f4 to your computer and use it in GitHub Desktop.
Save jeremyfelt/e689b854f4290b52b5f4 to your computer and use it in GitHub Desktop.
#Export
vagrant ssh
sudo bash
mysqldump -u root -ppassword wsuwp > /var/www/20140605-wsuwp-backup.sql
exit
exit
#Reimport
vagrant ssh
sudo bash
mysql -u root -ppassword wsuwp < /var/www/20140605-wsuwp-backup.sql
exit
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment