|
From: <el...@ik...> - 2006-04-10 11:52:18
|
Hi, this is something I did a couple of days ago for our company's use, I thought it would maybe help someone else too. Basically this enables rsync to send files which are locked, e.g. in-use Outlook .pst-files, the Windows registry and pretty much everything else except EFS-encrypted files. Everything can be found here: http://iki.fi/~eliasp/rsync-vss The most useful thing is probably the rsync.msi-file which will install rsync under C:\Program Files\rsync. A zip-file is also provided which includes everything in the installer plus the installer as a WiX-source file. NOTE that this only works on Windows XP currently, I tried it on Server 2003, but for some reason it didn't work. There is a patch file which can be applied to the rsync 2.6.6 source found in cygwin. It's pretty simple stuff actually. Note that it needs a C++-compiler as I didn't have time to fiddle with the C-style COM. There were some other issues too, like the linker not finding CreateVssBackupComponents directly and fstat not working for files opened with CreateFile. You have to install Microsoft's VSS SDK and copy the include files and libraries to rsync-2.6.6/vss/inc and rsync-2.6.6/vss/lib respectively. |