Vista and Incremental backups

I usually use Rsync for my incremental backups but since I moved to Vista it’s a bit of pain to get it working. I tried to install it using both Cygwin and DeltaCopy but couldn’t get it to copy international chars (i.e. åäö) via either Samba or SSH. So I looked into a tool called robocopy which is included in Vista (you can get it for XP as well). It worked fine and was easy to use.

To mirror a folder from one folder to another I put the following to a bat file (all on one row):

robocopy "D:Pictures"
"MyOtherComputerBackupPictures" /MIR

I did some different bat files for all folders I wanted to backup. At last I created one bat file that calls all the other. It looks like:

call BackupPictures.bat
call BackupCode.bat

There are loads of settings to customize your backups. For example to avoid copying desktop.ini files add /XF desktop.ini just after /MIR in the above example. Look into the robocopy help for more configuration options.

Publicerat av Ola

WordPress, UX och e-handels frilans. Driver varumärket Sten. Jobbar som lärare inom webb, media och IT på NTI Gymnasiet.

4 svar på ”Vista and Incremental backups”

  1. Works for me on *nix.

    du% touch bläg
    du% rsync -azPHe ssh bläg verne:~
    building file list …
    1 file to consider
    0 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/1)

    sent 116 bytes received 42 bytes 105.33 bytes/sec
    total size is 0 speedup is 0.00
    du% ssh verne ls |grep ä
    du% rsync –version|grep version
    rsync version 3.0.4 protocol version 30

Kommentarer inaktiverade.