hängen.failed: Operation not permitted (1)
Auf dem NAS erstellt es die Ordnerstruktur und wenige Dateien.[19:30:11] root@openHABianPi:/# sudo raspiBackup.sh -a : -o : -m detailed
--- RBK0009I: openHABianPi: raspiBackup.sh V0.6.4.3 (2d927a2) Thu Jul 11 19:31:17 CEST 2019 gestartet.
--- RBK0128I: Logdatei ist /backup/openHABianPi/openHABianPi-rsync-backup-20190711-193117/raspiBackup.log.
--- RBK0116I: Konfigurationsdatei /usr/local/etc/raspiBackup.conf wird benutzt.
--- RBK0151I: Backuppfad /backup wird benutzt.
!!! RBK0157W: Keine Systemd Services sind zu stoppen.
--- RBK0081I: Backup vom Typ rsync wird in /backup/openHABianPi/openHABianPi-rsync-backup-20190711-193117 erstellt.
--- RBK0036I: Partitionslayout wird gesichert.
--- RBK0044I: Backup der Bootpartition wird in /backup/openHABianPi/openHABianPi-rsync-backup-20190711-193117/openHABianPi-backup.img erstellt.
41+1 records in
41+1 records out
43832832 bytes (44 MB, 42 MiB) copied, 5.22063 s, 8.4 MB/s
--- RBK0044I: Backup des Partitionlayouts wird in /backup/openHABianPi/openHABianPi-rsync-backup-20190711-193117/openHABianPi-backup.sfdisk erstellt.
--- RBK0046I: Backup des Masterbootrecords wird in /backup/openHABianPi/openHABianPi-rsync-backup-20190711-193117/openHABianPi-backup.mbr erstellt.
--- RBK0158I: rsync Backup "/backup/openHABianPi/openHABianPi-rsync-backup-20190711-193117" wird erstellt.
--- RBK0085I: Backuperstellung vom Typ rsync gestartet. Bitte Geduld.
rsync: chown "/backup/openHABianPi/openHABianPi-rsync-backup-20190711-193117/." failed: Operation not permitted (1)
rs
Nach Abbruch mit STRG+C löscht RaspiBackup das Ganze wieder.
Da ich nicht weiter komme, habe ich mit rsync weiter getestet:
Code: Alles auswählen
[11:14:57] root@openHABianPi:/# rsync -rltgoDv /openhabian@192.168.178.22: / backup
sending incremental file list
rsync: link_stat "/openhabian@192.168.178.22:" failed: No such file or directory (2)
rsync: chown "/backup/." failed: Operation not permitted (1)
./
raspiBackupInstallUI.log
share
test
rsync: chown "/backup/backup" failed: Operation not permitted (1)
rsync: chown "/backup/backup/.streams" failed: Operation not permitted (1)
Auf dem NAS sind sehr viele Verzeichnisse und Dateien.
Irgendwann hängt dann das Backup wieder.
Müsste ich diese Verzeichnisse ausschließen?
Wenn ich falsche NFS-Freigaben hätte, dürften doch keine Dateien auf dem NAS gespeichert werden?