Justin Guenther <jguenther <at> gmail.com> writes:
I have a win2000 host that I successfully did a backup of yesterday
afternoon using rsyncd (the version on the main BackupPC webpage).
Today I worked on trying out sshd to see if I could set up an SSH
tunnel for security reasons. I searched around and found
http://www.itefix.no/ . I downloaded their copSSH package (a package
containing the Cygwin dll and ssh/sshd programs with an installer that
fixes permissions etc.), installed and configured it, and created a
secondary host aliased to the win2k box (so I could be sure it worked
before using it on the actual host).
I used the version of rsync listed on the main BackupPC webpage and
did a few test rsync's on small directories under the C: drive and
they seemed to work satisfactorally, so I changed over the original
host.
Now the original host was set to use rsync and to backup the entire C:
drive (/cygdrive/c/). I let the backup process run for around an hour
before I realized it seemed to have stalled. I stopped the backup job
and deleted the host as per the instructions in the manual.
...
It seems there might be a bug to do with cancelling jobs perhaps. When
I looked at the process list on the host I saw several rsync and sshd
processes that were idle, when none should have still been running. I
killed all the rsync processes and all but one SSHD process was left
(the Cygwin SSH system service).
This behavior is pretty consistent with my experience trying to use
cygwin+sshd+rsync on Windows 2000. I had noticed the rsync readme.txt in the
version from the BackupPC site eludes to this as well. "However, I haven't
been able to get ssh to work reliably with rsync on cygwin."
Oddly enough, I have found cygwin+ssh+rsync working in the "opposite" direction
to work flawlessly. That is, starting the rsync session from a command prompt
or scheduled task on the Windows box.
Here is a work-around I'm using until I either get cygwin+sshd+rsync working or
just set up a VPN. The two remote boxes I need to back up over a secure
connection each run a scheduled task to "push" the files to the backuppc server
using cygwin+ssh+rsync. Then I back up the resulting directories with
BackupPC. Fortunately, it's only two machines so having the two extra copies
of their data around does not use too much extra disk space.
Of course, this assumes that your BackupPC box is publicly accessible via ssh.
Mike
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
