Skip to content

Instantly share code, notes, and snippets.

@davidalves1
Created January 13, 2017 18:18
Show Gist options
  • Save davidalves1/ace620c0b7a36fe625b7123acfbfef56 to your computer and use it in GitHub Desktop.
Save davidalves1/ace620c0b7a36fe625b7123acfbfef56 to your computer and use it in GitHub Desktop.
Script para realizar backup do banco de dados MySQL no Windows
mysqldump database_name > path-to-destination\my-bd-backup-%date:~6,4%%date:~3,2%%date:~0,2%.sql -v -h host-db -u db-username -pPassword
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment