<div><span class="gmail_quote">On 6/7/06, <b class="gmail_sendername">John Arbash Meinel</b> <<a href="mailto:john@arbash-meinel.com">john@arbash-meinel.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Martin Pool wrote:<br>> On 6 Jun 2006, Mark <<a href="mailto:mwatts42@gmail.com">mwatts42@gmail.com
</a>> wrote:<br>>> I have searched the help for examples of using rsync on windows (windows client<br>>> and windows server) but I have not found any. I did find a reference that<br>>> suggests that some more information on using rsync on windows would help, and I
<br>>> agree.<br>>><br>>> I am in a situation where i would like to push/pull changes from a repository<br>>> hosted on a Windows 2003 Terminal server where I have the following<br>>> restrictions
<br>>> 1) I can't 'install' anything - no rights<br>>> 2) I can modify my local path and copy bzr and rsync to directories in my<br>>> 'home' directory where they would be able to be run from.<br>>>
<br>>> I have never used rsync before and the sheer number of options are a bit<br>>> overwhelming. I do have a windows version of rsync available but I don't know<br>>> if this is the 'recomended' version for use on windows.
<br>>><br>>> rsync version 2.5.7 protocol version 26<br>>> Copyright (C) 1996-2002 by Andrew Tridgell and others<br>>> <<a href="http://rsync.samba.org/">http://rsync.samba.org/</a>><br>>> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
<br>>> no IPv6, 64-bit system inums, 64-bit internal inums<br>><br>> If you can put the rsync exe on the machine and run it then bzr should<br>> be able to call it. You just need to make sure it's on your PATH so it
<br>> can be run. You don't need to worry about the options; bzr sets them.<br>><br><br><br>I think the biggest problem is that he wants a server process.<br>I'm not sure if he is saying he wants to run the rsync server and be
<br>able to push onto his machine, or if he is just saying he wants to use<br>rsync to copy between local paths.<br><br>Since Windows 2k3 wouldn't have ssh or rsync or http (or ftp) running,<br>I'm not sure how we could access files from remote. I suppose if he
<br>could share the files over samba, he should be able to access them from<br>another machine.<br><br>Mark- can you clarify if you are trying to rsync between paths on the<br>same machine, or between machines?<br><br><br>
</blockquote></div>
<div>I am trying to sync between two different machines. Roughly here is my usecase.</div>
<div> </div>
<div>* Update a local bzr repository hosted on a remote TerminalServer machine from an old legacy revision control system.</div>
<div>* commit the changes to the repository hosted on the remote Terminal Server</div>
<div>* pull the changes from the Terminal Server branch to a local branch hosted on my computer.</div>
<div> </div>
<div>Notes:</div>
<div>* I can edit the user Path environment variable on the Terminal Server but I can not install anything. Rsync, FTP/SFTP, etc are not available as part of the install. No web server is running either.</div>
<div>* The repository is > 500 Megs</div>
<div>* the connection to Terminal Server must go through an encrypted VPN session.</div>
<div>* I can map a drive to my private share on the Terminal Server but this does standard file copies, which is very slow over the internet, encrypted VPN, etc. Basicly it takes hours to pull down major updates or a new repo.
</div>
<div> </div>
<div>The entire reason for these hoops is the legacy revision control system has no capability to work remotely. IOW, starting the native revision control library takes > 30 min just to startup. Checkouts take upwards of 12 hours. Needless to say that does not help productivity, so I have tried to come up with this workaround/kludge. It works but it is still slow. I would like to speed it up and rsync sounds like it would do it but as I note above, I can't install it as a service. I have to work entirely within my own home directory and current sessions.
</div>
<div> </div>
<div>-mark<br clear="all"></div>