Skip to content

Instantly share code, notes, and snippets.

@leogomes
Created November 19, 2010 00:06
Show Gist options
  • Save leogomes/705924 to your computer and use it in GitHub Desktop.
Save leogomes/705924 to your computer and use it in GitHub Desktop.
Backup Brasouverts
@echo off
echo Creating backup for %DATE%
for /F "tokens=1-4 delims=/ " %%A in ('echo %date%') do (set CDATE=%%B%%C%%D)
mysqldump -u root brasouverts_development > d:\brasouverts\backup\dump_%CDATE%.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment