Created
February 16, 2017 07:36
-
-
Save symbolic/175bcc2aa80f0ddd91990bf200ca42ea to your computer and use it in GitHub Desktop.
自动备份bugfree
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
etho 开始自动备份bugfree数据库 | |
if exist F:\测试报告备份\BugFree备份\%date:~0,10% ( | |
rd /s /q F:\测试报告备份\BugFree备份\%date:~0,10%) | |
md F:\测试报告备份\BugFree备份\%date:~0,10%\ | |
xcopy /e d:\xampp\BugFile F:\测试报告备份\BugFree备份\%date:~0,10%\ | |
D:\xampp\mysql\bin\mysqldump.exe -u root --all-databases>F:\测试报告备份\BugFree备份\%date:~0,10%\all.sql | |
D:\xampp\mysql\bin\mysqldump.exe -u root bugfree>F:\测试报告备份\BugFree备份\%date:~0,10%\bugfree.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
开机自启动,自动备份Bugfree