ftp databackup.bat
Posted sfqas
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ftp databackup.bat相关的知识,希望对你有一定的参考价值。
@echo off
echo 打包数据并传到异地
set time=%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%
echo %date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2% start 压缩数据 > e:\%time%log.txt
%systemroot%system32 tbackup.exe backup D: est /j databack /f "E:data.bkf"
echo %date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2% 压缩数据到E:data.bkf完成 >> e:\%time%log.txt
echo %date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2% start 发送到异地FTP >> e:\%time%log.txt
D:systemtoolsFlashFXPflashfxp.exe -pass="as1234" -get -c2 put.fqf
echo %date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2% 发送到异地FTP完成 >> e:\%time%log.txt
以上是关于ftp databackup.bat的主要内容,如果未能解决你的问题,请参考以下文章