access of windows shadow copy by rsync?

Max Kipness max at assuredata.com
Mon May 15 23:47:40 GMT 2006


>Hello
>Im trying to access shadow copies under windows XP by rsync.
>Shadow copies may be accessed as a device with the following syntax:
>\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1
>I try it with rsync but the log always states:

>rsync: link_stat
>"/cygdrive/\//GLOBALROOT/Device/HarddiskVolumeShadowCopy1/ada" failed:
No >such file or directory (2)
>rsync error: some files could not be transferred (code 23) at
>/home/lapo/packaging/tmp/rsync-2.6.3/main.c(702)

>Is rsync not capale to access devices with this syntax?
>Or do I make an other error?
>Thanks for your help
>Michael

Apparently not. I've done quite a bit of testing with this. It seems as
though the windows xp copy command is the only command that can
recognize the temporary volume shadow device. It seems as though xcopy
doesn't even recognize the device.

What I've done in the past is created a script that creates the volume
shadow copy, copies the files to a temp directory, rsyncs them from
there, then deletes the files. The rsync algorithm still seems to work
fine with only the changes.

It would be awesome if rsync could recognize the volume shadow copy
device, but I have no idea what that would entail.

Also, with Windows 2003 Server, you can create volume shadow copies that
are linked to a drive letter that rsync does recognize.

Max


More information about the rsync mailing list