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.
I then created a new host dir and tried doing a full backup. Again, it
appeared as though rsync stalled (no activity on the host, sshd and
rsync processes weren't dead, just idle), so I cancelled the backup so
I could see the error log.
The error log showed that it had gotten a few files under one
directory tree, but apparently stopped there. I tried resuming the
backup by doing another full backup, but this did the same thing
except this time didn't produce any output whatsoever in the transfer
logfile.
I stopped the backup process again and again deleted and recreated the
host. When I went to the new host's status page it said that the
original (~2 hours old) backup job was still running. I reloaded the
page to see if it would go away, but each time I reloaded the status
page it (seemingly) randomly listed a different current backup job, or
none at all.
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).
I should also mention that I ran into this problem with old backup
jobs being listed as current and inconsistent host status yesterday
with another (linux) host. (also using rsync through SSH).
I don't know where to begin to debug this. Anyone have any ideas for
how I can figure out what's going on? And has anyone else had any luck
running rsync through SSH under windows?
--
Justin Guenther
IT Analyst
CrownAg International Inc.
250 Henderson Drive
Regina, SK, Canada S4N 5P7
Tel: (306) 522-8111
Email: justin.guenther < at > crownag.ca
-------------------------------------------------------
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/
