Skip to content

Instantly share code, notes, and snippets.

@stucka
Created July 21, 2017 14:52
Show Gist options
  • Save stucka/7b80d0dce7b9b44778a284aa00f234b1 to your computer and use it in GitHub Desktop.
Save stucka/7b80d0dce7b9b44778a284aa00f234b1 to your computer and use it in GitHub Desktop.
Backup mysql for Windows
set datestr=%date:~10,4%-%date:~7,2%-%date:~4,2%
mysqldump --add-drop-database --all-databases -mstucka -p >e:\mysqldump-library%datestr%.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment