rem *******************************Code Start*****************************
@echo off
set "Ymd=%date:~,4%%date:~5,2%%date:~8,2%"
md D:\xl\%Ymd%
D:\xampp\mysql\bin\mysqldump.exe -u yunwei -p123456 -h 192.168.10.176 zentao --default-character-set=utf8 --opt -Q -R --skip-lock-tables > D:\xl\%Ymd%\zentao_%Ymd%.sql
@echo on
rem *******************************Code End*******************************
本文出自 “系统网站运维” 博客,请务必保留此出处http://cgc243652136qq.blog.51cto.com/3989433/1785493
原文地址:http://cgc243652136qq.blog.51cto.com/3989433/1785493