博文

目前显示的是 三月, 2007的博文

在windows上使用rsync

This document assumes that you want to install rsync as a daemon on a WindowsXP/2k/2k3 boxes and use it to backup your NT machines from a central DeniX server. You will need the following files: From Cygwin: cygpopt-0.dll cygwin1.dll rsync.exe From the Windows NT or 2000 Resource Kit. instsrv.exe srvany.exe You can download all theese files in one self-extracting archive here If you follow the following instructions you will an rsync service on your windows machine, running one large WORLD READABLE area. Please be careful where you place the server as any one who can see it can read this volume. 1) Create directory c:\rsync 2) Place rsync.exe instsrv.exe and srvany.exe in c:\rsync 3) Copy cygwin1.dll and cygpopt-0.dll to c:\windows\system32 4) Start the cmd shell and input this command: c:\rsync>instsrv Rsync "c:\rsync\srvany.exe" 5) You should now have a new service called Rsync and you can verify by looking in Start->Control Panel->Services DON'T START