Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1: −
{{Incomplete}}
+
=== Purpose ===
 +
 
 +
{{Warning box| This page is considerably out of date and needs revison}}
      −
=== Purpose ===
   
Using Cygwin rsync on a Windows computer to backup it remotely over ssh does not work as the Cygwin rsync process hangs. This problem has been reported frequently but was not solved yet. The only known workaround is running the rsync daemon.  
 
Using Cygwin rsync on a Windows computer to backup it remotely over ssh does not work as the Cygwin rsync process hangs. This problem has been reported frequently but was not solved yet. The only known workaround is running the rsync daemon.  
    
This document describes the installation and configuration of the rsync daemon in the cygwin environment on a Windows XP computer for the purpose to backup data using the Affa backup software.
 
This document describes the installation and configuration of the rsync daemon in the cygwin environment on a Windows XP computer for the purpose to backup data using the Affa backup software.
 +
 +
Affa versions 0.9.0 or higher support the rsyncd protocol.
    
{{Note box| Cygwin requires a Windows OS with NTFS file system. Does not work on FAT32 file system}}
 
{{Note box| Cygwin requires a Windows OS with NTFS file system. Does not work on FAT32 file system}}
 
+
{{Note box| The latest and maintained version of this Howto can be found [http://wiki.nikoforge.org/ here].}}
    
=== Installation ===
 
=== Installation ===
 
Login with the '''local''' Administrator account and create a folder C:\cygwin. Save http://cygwin.com/setup.exe to this folder and run it:
 
Login with the '''local''' Administrator account and create a folder C:\cygwin. Save http://cygwin.com/setup.exe to this folder and run it:
 +
 
[[Image:Cygwin-install-screenshot-1.png]]
 
[[Image:Cygwin-install-screenshot-1.png]]
   Line 29: Line 33:  
* from category Net: openssh, rsync
 
* from category Net: openssh, rsync
 
* from category Editor: vim (or any other editor of your choice)
 
* from category Editor: vim (or any other editor of your choice)
 +
* from category Utils: diffutils
 
[[Image:Cygwin-install-screenshot-7.png]]
 
[[Image:Cygwin-install-screenshot-7.png]]
   Line 49: Line 54:  
  .
 
  .
   −
===== On Windows XP and Windows 2000 Workstation=====
+
===== On Windows XP, Windows 2000 Workstation and Windows 2000 Server =====
 
  Generating /etc/ssh_host_key
 
  Generating /etc/ssh_host_key
 
  Generating /etc/ssh_host_rsa_key
 
  Generating /etc/ssh_host_rsa_key
Line 133: Line 138:  
  Host configuration finished. Have fun!
 
  Host configuration finished. Have fun!
   −
===== On Windows Server 2000 =====
  −
{{Incomplete}}
  −
.
      
Start the sshd service
 
Start the sshd service
 
  net start sshd
 
  net start sshd
Don't forget to open port 22 in the Windows firewall.
+
Don't forget to open port 22 for the IP address of the Affa server in the Windows firewall.
      Line 179: Line 181:  
Start the rsyncd service
 
Start the rsyncd service
 
  net start rsyncd  
 
  net start rsyncd  
Don't forget to open port 873 in the Windows firewall.
+
Don't forget to open port 873 for the IP address of the Affa server in the Windows firewall.
      Line 207: Line 209:     
=== References ===
 
=== References ===
 +
* [[Affa]] Contrib
 
* http://marc-abramowitz.com/archives/2007/10/14/solving-rsync-hangs-with-cygwin/
 
* http://marc-abramowitz.com/archives/2007/10/14/solving-rsync-hangs-with-cygwin/
 +
 +
[[Category: Backup]]
 +
[[Category: Howto]]

Navigation menu