Rsync is an open source synchronization program.
Backup solution from windows xp to usb disk Edit
A backup solution can be set up to make the usb disk's backup folder look exactly like the user's profile folder. This will only update changed files and will delete all deleted files:
- Install cwRsync (a windows port of rsync)
- Add the bin folder of the cwRsync installation to the PATH system variable (probably "C:\Program Files\cwRsync\bin" by default)
- Overwrite c:\windows\system32\cygwin.dll with a unicode compatible version (i tested version 1.5.21-1 and 1.5.24-2, although any version should do)
- Create a backup folder and a .bat file on the usb disk (e.g. sync.bat) and copy the following into the file:
@echo off echo Start time: time /t echo Synchronizing... rem Get homefolder in unix style pathname set VARVAL=%HOMEPATH% :go FOR /f "tokens=1* delims=\" %%x in ('echo %VARVAL%') do if "%%y" == "" goto done FOR /f "tokens=1* delims=\" %%x in ('echo %VARVAL%') do SET VARVAL=%%x/%%y goto go :done rsync -aP --delete --size-only "/cygdrive/c/%VARVAL%/" "./backup/" if not %errorlevel% == 0 goto errTransfer echo Done goto exit :errTransfer echo Transfer error pause :exit