Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 3: Line 3:     
=== Purpose ===
 
=== 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.
 +
 
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.
   Line 37: Line 39:     
==== Configuring sshd Service ====
 
==== Configuring sshd Service ====
 +
{{Note box|The sshd service is not needed for the Affa backup but it is quite useful to have a ssh login for configuration or viewing log files. You can skip this step, if you don't need ssh login.}}
 +
 
Run the sshd configuration script.
 
Run the sshd configuration script.
 
  ssh-host-config
 
  ssh-host-config
Line 72: Line 76:  
  net start sshd
 
  net start sshd
 
Don't forget to open port 22 in the Windows firewall.
 
Don't forget to open port 22 in the Windows firewall.
 +
 +
===== Testing =====
 +
ssh Administrator@localhost
    
==== Configuring rsyncd Service ====
 
==== Configuring rsyncd Service ====
Line 81: Line 88:  
  chmod 660 /etc/rsyncd.secrets
 
  chmod 660 /etc/rsyncd.secrets
   −
Create the /etc/rsyncd.conf configuration file. Replace the placeholder '''AFFA_ID''' by the ip address of your Affa server.
+
Create the /etc/rsyncd.conf configuration file. Replace the placeholder '''AFFA_IP''' by the ip address of your Affa server.
 
  gid = 544
 
  gid = 544
 
  uid = 18
 
  uid = 18
Line 108: Line 115:  
  net start rsyncd  
 
  net start rsyncd  
 
Don't forget to open port 873 in the Windows firewall.
 
Don't forget to open port 873 in the Windows firewall.
 +
 +
===== Testing =====
 +
Login the Affa server and run the following command, where IP_ADDRESS is the IP address of the Windows computer.
 +
rsync -av affa@IP_ADDRESS::'AFFA/'
 +
You should receive a file list of all your drives.
 +
    
=== Security ===
 
=== Security ===
 
The rsync daemon protocol does not provide any encryption of the data that is transferred over the connection. Use it only in the local net or VPN.
 
The rsync daemon protocol does not provide any encryption of the data that is transferred over the connection. Use it only in the local net or VPN.
501

edits

Navigation menu