Code: Alles auswählen
drwxrwx--- 8 markus markus 4096 Apr 8 14:49 markus
Ich habe der Gruppe testweise mal root zugeordnet und schon wurde alles gesichert. es kann aber doch nicht sein, dass root wegen dem rsync jeder Benutzergruppe angehört!
Code: Alles auswählen
drwxrwx--- 8 markus markus 4096 Apr 8 14:49 markus
Code: Alles auswählen
markus@mars:/media$ sudo rsync -aPv --delete --exclude=lost+found/ --stats rsync://root@host1/backup /media/disk
Code: Alles auswählen
max connections = 2
log file = /var/log/rsync.log
timeout = 300
[backup]
comment = Datenverzeichnis der ext. USB Platte
path = /exports/data
read only = yes
list = yes
uid = 0
gid = 0
auth users = root
secrets file = /etc/rsyncd.secrets