Skip to content

Instantly share code, notes, and snippets.

@jonmunson
Created March 9, 2015 21:55
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 jonmunson/3fadfa940e1c963f9319 to your computer and use it in GitHub Desktop.
Save jonmunson/3fadfa940e1c963f9319 to your computer and use it in GitHub Desktop.
mysqldump all databases from remote host
mysqldump -h 1.2.3.4 -u username -p --all-databases > database_backup.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment