您好,登录后才能下订单哦!
密码登录
登录注册
点击 登录注册 即表示同意《亿速云用户服务条款》
rem echo offcolor 0arem Version:backup_was V1.0,had tested on windows 2003rem FUNTION:use rar compress the D:\ErpDataLog& D:\imagesrem IP:10.8.252.23, <ErpDataLog&images>set PATH=%PATH%;D:\tomcat_bacthset BATCH=D:\BATCHset BACKUP=D:\backup\Server3set ErpDataLog_images_WAR=D:\ErpDataLog&D:\imagesrem hh=8:00--> 08:00set CurTime=%time%set hh=%CurTime:~0,2%rem 时间戳 年月日时分秒set FILE_DATE=%date:~0,4%%date:~5,2%%date:~8,2%rar a -m5 %BACKUP%\images%FILE_DATE%.rar D:\web\imagessleep 3rar a -m5 %BACKUP%\online%FILE_DATE%.rar D:\web\onlinesleep 3rar a -m5 %BACKUP%\wwwroot%FILE_DATE%.rar C:\inetpub\wwwrootsleep 3copy *%FILE_DATE%*.rar \\10.8.252.251\Server3\rem delete 7days agoforfiles /p D:\backup\Server3 /m *.log -d -7 /c "cmd /c del /f @path"forfiles /p D:\backup\Server3 /m *.rar -d -7 /c "cmd /c del /f @path"echo local_batch.bat OK,storage_backup.bat begin.rem pausecall storage_backup.bat免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。