有哪位大虾提供CVS异地备份的脚本
有哪位大虾提供CVS异地备份的脚本?不胜感谢!自己解决
echo off@CVS代码配置库备份
cd E:\backup\cvs
mkdir %date:~0,10%
cd %date:~0,10%
xcopy D:\AI_PROJECT\*.* /s /e
mkdir \\10.8.16.32\cvsbackup\%date:~0,10%
cd \\10.8.16.32\cvsbackup\%date:~0,10%
echo CVS代码异地备份
xcopy D:\AI_PROJECT\*.* \\10.8.16.32\cvsbackup\%date:~0,10% /s /e
if errorlevel 1 (
echo 备份失败
) ELSE (
echo 备份完成
)
@echo on
页:
[1]