Knowledge Base Nr: 00128 IncBackup.bat - http://www.swe-kaiser.de
Downloads:
rem Backupscript für inkrementelle Backups (aus c't)
set Quelle="C:\projects\cpp_classes"
set Ziel="c:\Backup\%date%"
set templog="%temp%\temp.log"
;
echo . >>%windir%\backup.log
echo Starte Backup: %date% %time% von %Quelle% nach %Ziel% >>%windir%\backup.log
md %Ziel%
xcopy %Quelle% %Ziel% /m /s /v /c /i /f /h /k /o /x /y /e >>%windir%\backup.log
echo Starte Überprüfung >>%windir%\backup.log
start /w windiff.exe -Sdx %templog% -T %Ziel% %quelle%
find "different" %templog% >>%windir%\backup.log
echo Fertig >>%windir%\backup.log
start notepad.exe %windir%\backup.log
;