The safest way to back up an offline Photos Library
Hello,
looking at the Activity Monitor, I see that the "photolibraryd" daemon is often working on the Photos library in the background, even when the Photos app is closed. Apple’s Support articles say that when one wishes to back up one's photos library, copying it by dragging it to another volume is sufficient. However, I am wondering if the photos library is always in a consistent state, ready for backing it up, when the photolibraryd task is reading from and writing to it intermittently.
We have a 1.5TB photos library which is not synced with iCloud, which we back up to a Unix tar archive. Here, I would expect the same issue to occur of the library not being in a consistent state while its files are accessed for backup.
Do you know of a way to obtain proper backups? I also used Carbon Copy Cloner, which should be subjected to the same problem. Right now, the only way I can think of might be to switch Photos to another library before backing up the main library.
We restored our library from a tar backup, and our library still works, but with long delays in between operations and frequent heavy disk activity. We rebuilt/repaired the library, as well, but that operation went very slowly (with 1-2% CPU utilization) and when it was finished, the delays have improved only slightly.
We store the library on a regular Western Digital USB external hard drive formatted with APFS.
Many thanks!
Mac mini (2023 with M2 Pro)