Ho un'enorme libreria di foto (circa 400 GB) che non si adatta al mio Mac book pro. Uso un disco USB per archiviare la mia libreria e ho 2 dischi aggiuntivi dove sincronizzo la libreria usando rsync.
Ecco il mio comando rsync:
./rsync -aNHAX --delete --fileflags -q --human-readable --itemize-changes --rsync-path=/Users/olmo/rsync --exclude '.*' /Volumes/DATOS\ 1/ /Volumes/DATOSbackup/
Le mie 2 unità di backup sono identiche, quindi eseguo la sincronizzazione 2 volte con ciascuna unità di backup connessa (una alla volta).
Il backup funziona bene, posso aprire le librerie sulle unità di backup e funziona bene.
Tuttavia, ricevo un messaggio di errore durante la sincronizzazione da rsync:
DEBUG: [dfcc: sender] Effective UID is 503 for /Volumes/DATOS 1/
DEBUG: [sender] Fileflags mask for /Volumes/DATOS 1/: 458752
DEBUG: [dfcc: sender] Setting effective UID back to 503 for source
DEBUG: [dfcc: receiver] Effective UID is 503 for /Volumes/DATOSbackup/
DEBUG: [receiver] Fileflags mask for /Volumes/DATOSbackup/: 458752
DEBUG: Max xattr size for the destination filesystem is 2147483647 bytes
DEBUG: [dfcc: receiver] Setting effective UID back to 503 for dest
rsync: rsync_xal_set: lsetxattr("/Volumes/DATOSbackup/Photos Library.photoslibrary/resources/recovery/RKFace/0000000009.lij","com.apple.quarantine","28") failed: Permission denied (13)
rsync: rsync_xal_set: lsetxattr("/Volumes/DATOSbackup/Photos Library.photoslibrary/resources/recovery/RKMaster/0000000001.lij","com.apple.quarantine","28") failed: Permission denied (13)
rsync: rsync_xal_set: lsetxattr("/Volumes/DATOSbackup/Photos Library.photoslibrary/resources/recovery/RKSceneInVersion/0000000003.lij","com.apple.quarantine","28") failed: Permission denied (13)
rsync: rsync_xal_set: lsetxattr("/Volumes/DATOSbackup/Photos Library.photoslibrary/resources/recovery/RKVersion/0000000048.lij","com.apple.quarantine","28") failed: Permission denied (13)
rsync: rsync_xal_set: lsetxattr("/Volumes/DATOSbackup/Photos Library.photoslibrary/resources/recovery/RKVersion/0000000049.lij","com.apple.quarantine","28") failed: Permission denied (13)
rsync: rsync_xal_set: lsetxattr("/Volumes/DATOSbackup/Photos Library.photoslibrary/resources/recovery/RKVersion/0000000050.lij","com.apple.quarantine","28") failed: Permission denied (13)
rsync: rsync_xal_set: lsetxattr("/Volumes/DATOSbackup/Photos Library.photoslibrary/resources/recovery/RKVersion/0000000051.lij","com.apple.quarantine","28") failed: Permission denied (13)
rsync: rsync_xal_set: lsetxattr("/Volumes/DATOSbackup/Photos Library.photoslibrary/resources/recovery/RKVersion/0000000052.lij","com.apple.quarantine","28") failed: Permission denied (13)
rsync: rsync_xal_set: lsetxattr("/Volumes/DATOSbackup/Photos Library.photoslibrary/resources/recovery/RKVersionAnalysisState/0000000001.lij","com.apple.quarantine","28") failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1385) [sender=3.0.6]
Ho provato a rimuovere il contrassegno di quarantena su quei file sull'unità DESTINATION, ma l'errore persisteva. Ecco cosa ho fatto:
sudo xattr -dr com.apple.quarantine "/Volumes/DATOSbackup/Photos Library.photoslibrary/resources/recovery/RKVersionAnalysisState/0000000001.lij"
Le mie domande sono:
- Perché i file sono contrassegnati come in quarantena?
- Come posso risolvere questo problema, in modo da poter avere un vero mirror della mia intera libreria di foto?
Grazie per il tuo aiuto