User Tools

Site Tools


blog:simple_backup_procedure_for_windows_c_t_bff

This is an old revision of the document!


Simple backup procedure for windows (c't bff)

Backing up your files should be fast and easy, so that you can do it regularly. In the german computer magazine c't (recommended!), a simple and efficient backup script was presented, which has some unique features:

  • works on any windows machine, without installing additional software!
  • runs very fast
  • gives a report of the result of the backup

For windows XP machines, here is the script:

set Quelle="C:\Dokumente und Einstellungen"

set Ziel="D:\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 >>%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

;

rem Erstellt 2003 von Axel Vahldiek / c't

rem mailto: axv@ctmagazin.de

~~LINKBACK~~

Discussion

Enter your comment. Wiki syntax is allowed:
  __  __  _____  _   __  ____   _____
 / / / / / ___/ | | / / / __ \ / ___/
/ /_/ / / (_ /  | |/ / / /_/ // /__  
\____/  \___/   |___/  \___\_\\___/
 
blog/simple_backup_procedure_for_windows_c_t_bff.1243407024.txt.gz · Last modified: 2009-05-27 08:50 by brb