美文网首页
备份mysql脚本

备份mysql脚本

作者: 聚齐 | 来源:发表于2017-09-06 21:57 被阅读6次

    @echo off

    set "Ymd=%date:~,4%%date:~5,2%%date:~8,2%"

    E:\Study\software_design\php_web\env\wamp64\bin\mysql\mysql5.7.14\bin\mysqldump -u root --databases test laravue > E:\db_backup\bbs_%Ymd%.sql

    @echo on

    %date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%%time:~6,2%

    相关文章

      网友评论

          本文标题:备份mysql脚本

          本文链接:https://www.haomeiwen.com/subject/yvtbjxtx.html