BackupPC ========= #Windows Host per rsyncd sichern ##Einrichtung des rsyncd Clients am Windows Host 1. Installation von rsyncd am Windows Host (Ausführen als Administrator!) https://github.com/backuppc/cygwin-rsyncd/releases/download/3.2.3.1/cygwin-rsyncd-3.2.3.1_installer.exe 2. Editieren der Konfigurationsdatei: C:\rsynd\rsyncd.conf auth users = %username% hosts allow = %ip_from_backuppc_host% 3. Editieren der Konfigurationsdatei: C:\rsynd\rsyncd.secrets In der letzten Zeile %Username%:%Password% hinzufügen, abschliessend noch eine Leerzeile darunter hinzufügen 4. CMD Befehle für Neustart des rsyncd Service und hinzufügen der Firewall Policy net stop rsyncserver && net start rsyncserver netsh advfirewall firewall add rule name="rsyncd" dir=in action=allow protocol=TCP localport=873 remoteip=10.8.0.xx/32 profile=Domain ##Testen ob Verbindung die rsynd Verbindung von backuppc Host aufgebaut werden kann 1. SSH Login am backuppc Host 2. Den rsync Verbindungsaufbau am besten gleich mit dem backuppc User ausführen su - backuppc rsync rsyncd@192.168.7.3::cDrive 3. Ergebniss: Muss das auflisten des Inhaltes vom Laufwerk C:\ sein Beispiel: Last login: Sun May 19 11:01:19 2024 from 10.8.0.28 root@backup ~ > su - backuppc $ rsync rsyncd@myhost.domain.net::cDrive Password: drwxr-xr-x 0 2024/05/19 08:05:45 . lrwxrwxrwx 17 2019/10/03 20:09:01 Documents and Settings lrwxrwxrwx 17 2019/04/07 15:34:30 Dokumente und Einstellungen lrwxrwxrwx 25 2019/04/07 15:34:30 Programme -rw-r--r-- 6.824.357.888 2024/05/18 12:07:51 hiberfil.sys -rw-r--r-- 2.550.136.832 2024/05/18 12:07:52 pagefile.sys -rw-r--r-- 16.777.216 2024/05/18 12:07:52 swapfile.sys drwxr-xr-x 0 2019/04/07 18:08:56 $Recycle.Bin drwxr-xr-x 0 2024/05/15 20:21:41 $WinREAgent drwxr-xr-x 0 2019/04/07 19:21:53 BlueIris drwxr-xr-x 0 2024/05/16 22:06:22 Config.Msi drwxr-xr-x 0 2024/05/15 23:48:51 Program Files (x86) drwxr-xr-x 0 2024/05/15 19:34:23 Program Files drwxr-xr-x 0 2024/05/15 23:48:33 ProgramData drwxr-xr-x 0 2023/09/13 12:42:18 Recovery drwxr-xr-x 0 2024/05/18 12:36:52 System Volume Information drwxr-xr-x 0 2024/05/19 10:48:14 Temp drwxr-xr-x 0 2020/09/14 10:49:23 Users drwxr-xr-x 0 2024/05/18 12:15:04 Windows drwxr-xr-x 0 2024/05/19 09:57:56 rsyncd $ exit root@backup ~ >