access of windows shadow copy by rsync?

m.dirksen at web.de m.dirksen at web.de
Tue May 16 07:19:54 GMT 2006


Hello Max
Thanks for your answer
Is there any way to access the shadow device by the copy command and to 
pipe the files to rsync?
that means to "filter" the files by rsync (to copy only the necessary files)?
 MIchael

> 
> >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

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
Dr. Michael T. Dirksen
Brucknerstrasse 39
64347 Griesheim
Tel:   0049 (0) 6155 - 848781
Fax:  0049 (0) 1212 - 5192 - 81276
mail: dirksen at wasserleben.com
web: http://www.wasserleben.com
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 



More information about the rsync mailing list