1

I have a huge photo library (about 400 GB) that won't fit inside my Mac book pro. I use a usb disk to store my library, and have 2 additional drives where I sync the library using rsync.

Here is my rsync command:

./rsync -aNHAX --delete --fileflags -q --human-readable --itemize-changes --rsync-path=/Users/olmo/rsync --exclude '.*' /Volumes/DATOS\ 1/ /Volumes/DATOSbackup/

My 2 backup drives are called the same, so I run the sync 2 times with each backup drive connected (one at a time).

The backup is working nice, I can open the libraries on the backup drives and it works good.

However, I'm getting an error message while syncing from 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]

I tried to remove the quarantine flag on those files on the DESTINATION drive, but the error persisted. Here is what I did:

sudo xattr -dr com.apple.quarantine "/Volumes/DATOSbackup/Photos Library.photoslibrary/resources/recovery/RKVersionAnalysisState/0000000001.lij"

My questions are:

  1. Why do I have files marked as quarantine?
  2. How do I fix this, so that I can have a true mirror of my whole photos library?

Thanks for your help

You must log in to answer this question.

Browse other questions tagged .