Hallo,
Bin heut auf einen Fehler beim Backup draufgekommen.
Folgendes Szenario:
Backup Server: 192.168.1.50 backup
Kiste Max: 192.168.1.30 max
Kiste Moritz: 192.168.1.10 moritz
... alle Debian/unstable & am gleichen Stand.
Max & Moritz sollen ihre Backup Archive mit rsync auf dem Backup Server speichern.
rsyncd.conf
Code:
[BACKUP_MAX]
comment = BACKUP_MAX
path = /BACKUP/BACKUP_MAX
use chroot = yes
read only = false
uid = 1000
gid = 1000
hosts allow = 192.168.1.30
ignore errors = no
ignore nonreadable = yes
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
[BACKUP_MORITZ]
comment = BACKUP_MORITZ
path = /BACKUP/BACKUP_MORITZ
use chroot = yes
read only = false
uid = 1000
gid = 1000
hosts allow = 192.168.1.10
ignore errors = no
ignore nonreadable = yes
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz
Die Verzeichnisse auf Max/Moritz sind identisch aufgebaut weil sie vom selben Backup-Script erstellt werden.
Die Berechtigungen der Verzeichnisse auf backup sind identisch:
Code:
backup:/BACKUP# l
drwxr-xr-x 1000 1000 BACKUP_MAX
drwxr-xr-x 1000 1000 BACKUP_MORITZ
Auf Moritz funktioniert
Code:
rsync -auvz . backup::BACKUP_MORITZ
Auf Max schauts so aus:
Code:
rsync -auvz . backup::BACKUP_MAX
building file list ... done
wrote 672 bytes read 40 bytes 1424.00 bytes/sec
total size is 1166977039 speedup is 164293.59
... wobei das Verzeichnis auf backup danach so aussieht:
Code:
backup:/BACKUP# l
drw------- 1000 1000 BACKUP_MAX
drwxr-xr-x 1000 1000 BACKUP_MORITZ
... und leer ist.
das rsyncd.log:
Code:
2004/09/11 18:05:28 [5420] rsync to BACKUP_MAX from max (192.168.1.30)
2004/09/11 18:05:28 [5420] ./
2004/09/11 18:05:28 [5420] recv_generator: mkdir "/partition-backup" (in BACKUP_MAX) failed: Permission denied
2004/09/11 18:05:28 [5420] stat "/partition-backup" (in BACKUP_MAX) failed: Permission denied
2004/09/11 18:05:28 [5420] recv_generator: mkdir "/." (in BACKUP_MAX) failed: Permission denied
2004/09/11 18:05:28 [5420] stat "/." (in BACKUP_MAX) failed: Permission denied


