Ich habe eine Little Backup Box . Das ist ein Raspberry 5 mit einen linux Betriebssystem
Sie macht Backups z.B. von Kamera SD Karten. sie kann auch diese Backups per rsync auf einen Server sichern. Das bekomme ich aber nicht zum Laufen. Ich habe auf der DS einen lbbuser mit admin Rechten für rsync , homes Ordner und NetBackup Ordner eingerichtet. rsync ist aktiviert und auch ein rsync-Konto für lbbuser erstellt.
Laut Beschreibung habe ich die rsyncd.conf geändert.
#motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
#use chroot = no
reverse lookup = no
refuse options = acls
[lbbuser]
path = /homes/lbbuser
comment = littlebackupbox
max connections = 2
hosts allow = *
use chroot = yes
list = true
read only = false
gid = 101
uid = 1038
auth users = lbbuser
secrets file = /etc/rsyncd.secrets
in /etc/rsyncd.secrets steht:
lbbuser:$6$iG85JPSI1$VJEj6TCm.... usw
Die Konfiguration in der Little Backup Box :

Ein Ausschnitt vom log File der Box:
2025-03-25 14:14:42
MOUNTED?: '/media/usb_source' = True
2025-03-25 14:14:42
Quelle o.k.
Größe: 246G
genutzt: 5G
frei: 242G
FS: exfat
2.0% ____________________
2025-03-25 14:14:42
mount USB device: --uuid 0123-4567
2025-03-25 14:14:42
MOUNTED?: '/media/usb_source' = True
2025-03-25 14:14:42
Backup from usb:
2025-03-25 14:14:42
MOUNTED?: '/media/usb_source' = True
2025-03-25 14:14:42
Lost source device usb? False
2025-03-25 14:14:42
arbeite...
2025-03-25 14:14:42
sshpass -p *** rsync /media/usb_source/ rsync://lbbuser@192.168.2.2:873/homes/lbbuser/lbb_20250325104422-37365 -avh --info=FLIST0,PROGRESS2 --stats --no-owner --no-group --no-perms --mkpath --min-size=1 --size-only --compress --exclude *$recycle.bin/* --exclude *trash* --exclude *.id --exclude *.lbbid --exclude images.db --exclude */tims* --dry-run
2025-03-25 14:14:42
grep Number of regular files transferred:
2025-03-25 14:14:42
Files to sync before backup: 0
2025-03-25 14:14:42
USB-Speicher
> rsync Server
0 v. 0
Dauer: ?
0.0% ____________________
2025-03-25 14:14:42
sshpass -p *** rsync /media/usb_source/ rsync://lbbuser@192.168.2.2:873/homes/lbbuser/lbb_20250325104422-37365 -avh --info=FLIST0,PROGRESS2 --stats --no-owner --no-group --no-perms --mkpath --min-size=1 --size-only --compress --exclude *$recycle.bin/* --exclude *trash* --exclude *.id --exclude *.lbbid --exclude images.db --exclude */tims*
2025-03-25 14:14:42
Exception: Err. starting client-server protocol, Fehlercode '5'
2025-03-25 14:14:42
Es wurden keine abnormalen Bedingungen festgestellt.
Ich habe viele verschiedene Kombinationen getestet , das Ergebnis war immer :
Exception: Err. starting client-server protocol, Fehlercode '5'
Was geht da schief ?
Sie macht Backups z.B. von Kamera SD Karten. sie kann auch diese Backups per rsync auf einen Server sichern. Das bekomme ich aber nicht zum Laufen. Ich habe auf der DS einen lbbuser mit admin Rechten für rsync , homes Ordner und NetBackup Ordner eingerichtet. rsync ist aktiviert und auch ein rsync-Konto für lbbuser erstellt.
Laut Beschreibung habe ich die rsyncd.conf geändert.
#motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
#use chroot = no
reverse lookup = no
refuse options = acls
[lbbuser]
path = /homes/lbbuser
comment = littlebackupbox
max connections = 2
hosts allow = *
use chroot = yes
list = true
read only = false
gid = 101
uid = 1038
auth users = lbbuser
secrets file = /etc/rsyncd.secrets
in /etc/rsyncd.secrets steht:
lbbuser:$6$iG85JPSI1$VJEj6TCm.... usw
Die Konfiguration in der Little Backup Box :

Ein Ausschnitt vom log File der Box:
2025-03-25 14:14:42
MOUNTED?: '/media/usb_source' = True
2025-03-25 14:14:42
Quelle o.k.
Größe: 246G
genutzt: 5G
frei: 242G
FS: exfat
2.0% ____________________
2025-03-25 14:14:42
mount USB device: --uuid 0123-4567
2025-03-25 14:14:42
MOUNTED?: '/media/usb_source' = True
2025-03-25 14:14:42
Backup from usb:
2025-03-25 14:14:42
MOUNTED?: '/media/usb_source' = True
2025-03-25 14:14:42
Lost source device usb? False
2025-03-25 14:14:42
arbeite...
2025-03-25 14:14:42
sshpass -p *** rsync /media/usb_source/ rsync://lbbuser@192.168.2.2:873/homes/lbbuser/lbb_20250325104422-37365 -avh --info=FLIST0,PROGRESS2 --stats --no-owner --no-group --no-perms --mkpath --min-size=1 --size-only --compress --exclude *$recycle.bin/* --exclude *trash* --exclude *.id --exclude *.lbbid --exclude images.db --exclude */tims* --dry-run
2025-03-25 14:14:42
grep Number of regular files transferred:
2025-03-25 14:14:42
Files to sync before backup: 0
2025-03-25 14:14:42
USB-Speicher
> rsync Server
0 v. 0
Dauer: ?
0.0% ____________________
2025-03-25 14:14:42
sshpass -p *** rsync /media/usb_source/ rsync://lbbuser@192.168.2.2:873/homes/lbbuser/lbb_20250325104422-37365 -avh --info=FLIST0,PROGRESS2 --stats --no-owner --no-group --no-perms --mkpath --min-size=1 --size-only --compress --exclude *$recycle.bin/* --exclude *trash* --exclude *.id --exclude *.lbbid --exclude images.db --exclude */tims*
2025-03-25 14:14:42
Exception: Err. starting client-server protocol, Fehlercode '5'
2025-03-25 14:14:42
Es wurden keine abnormalen Bedingungen festgestellt.
Ich habe viele verschiedene Kombinationen getestet , das Ergebnis war immer :
Exception: Err. starting client-server protocol, Fehlercode '5'
Was geht da schief ?