Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Tearabite

macrumors regular
Original poster
Sep 10, 2009
108
6
So.California
My iPhoto library is around 20GB.. any time i touch iPhoto, Time Machine backs up the entire 20gb library the next time it runs.

Is this normal?
 
Wirelessly posted (Mozilla/5.0 (iPod; CPU iPhone OS 5_0_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A405 Safari/7534.48.3)

It's not normal. How can you tell it's backing up the entire library, though?
 
Initially i could tell by the size showing in the Time Machine status, but to confirm I'm using TimeTracker app that confirms that EVERY TIME (even if i dont touch iPhoto) Time Machine runs, it is backing up all ~20GB of the iPhoto library..
More info: The iPhoto library is on an external drive and shared between two users on the machine. "ignore permissions" is set on the volume per http://support.apple.com/kb/HT1198
The volume is also set to hidden, using Onyx, but even when unhidden the same thing happens..
I've tried resetting Time Machine PLIST, but that didnt change anything.

Could it be a permissions issue?
 
I'm not familiar with the sharing of an iPhoto library between two users, but yeah -- I wonder if permissions are being changed on the library each time the user changes. Unless someone else has an idea, maybe as a test you could run iPhoto as user #1, quit iPhoto, do a Time Machine backup, then run iPhoto as user #1 again, quit iPhoto, and do another Time Machine backup. Did the entire library get backed up again?

Also, is the volume formatted as HFS+?
 
It is normal...

The iPhoto library is a single file containing all of your photos (small database). If you open the file, you have touched it and thus the Time Machine service sees it as needing to be backed up. If you don't want to do this, you can exclude it from the backup.
 
Last edited:
It is normal...

Well now that i've fixed it, i'm going to have to go ahead and disagree with you on that one.

I found two things: Even though i set "ignore permissions", it was not 'sticking'. Ran a permissions repair and now it sticks.
I also found that when the drive was hidden, it was always backing up the whole thing if i went into iPhoto (even without changing/touching anything).

After repairing permissions and unhiding the volume, Time Machine is now backing up the iPhoto library as expected : regular backup is normal (small only changed files).. open iPhoto, browse around, close iphoto, next backup is normal/small. Open iPhoto and add pics or edit something, next backup only grabs the pics and associated files that changed.
 
Well now that i've fixed it, i'm going to have to go ahead and disagree with you on that one.

I found two things: Even though i set "ignore permissions", it was not 'sticking'. Ran a permissions repair and now it sticks.
I also found that when the drive was hidden, it was always backing up the whole thing if i went into iPhoto (even without changing/touching anything).

After repairing permissions and unhiding the volume, Time Machine is now backing up the iPhoto library as expected : regular backup is normal (small only changed files).. open iPhoto, browse around, close iphoto, next backup is normal/small. Open iPhoto and add pics or edit something, next backup only grabs the pics and associated files that changed.


Not the way I have ever seen it work. It is a single file and unless Time Machine mounts the database (I guess it is a possibility) it will backup the entire file. Glad you got it working but since I don't have a Mac in front of me I can't really check it. I can when I get home though...

It is very possible I am incorrect on this as I was thinking about how it backs up VM files. Since it can't really mount those any time they are touched they get backed up. Thinking about it now, I don't think I remember my photo library getting fully backup more than once, even after I added some photos. They must mount the file.
 
Last edited:
Not the way I have ever seen it work. It is a single file and unless Time Machine mounts the database (I guess it is a possibility) it will backup the entire file. Glad you got it working but since I don't have a Mac in front of me I can't really check it. I can when I get home though...

Maybe yours isnt working right either?!
if you 'show contents' of the library file, then open time machine, you can even go back through all the revisions, etc, just like any other folder.
 
Maybe yours isnt working right either?!
if you 'show contents' of the library file, then open time machine, you can even go back through all the revisions, etc, just like any other folder.

Yeah, I just edited my post above. I think that does actually hit the contents of the file thus I stand corrected. ;)
 
Last edited:
The iPhoto library isn't a file, it's a bundle, which is a special kind of folder. It is represented by a single icon as a deterrent to users, to keep them from mucking with the contents.

Glad you got it working!
 
The iPhoto library isn't a file, it's a bundle, which is a special kind of folder. It is represented by a single icon as a deterrent to users, to keep them from mucking with the contents.

Glad you got it working!

Yeah, I remembered that after the fact.
 
Well now that i've fixed it, i'm going to have to go ahead and disagree with you on that one.

I found two things: Even though i set "ignore permissions", it was not 'sticking'. Ran a permissions repair and now it sticks.
I also found that when the drive was hidden, it was always backing up the whole thing if i went into iPhoto (even without changing/touching anything).

After repairing permissions and unhiding the volume, Time Machine is now backing up the iPhoto library as expected : regular backup is normal (small only changed files).. open iPhoto, browse around, close iphoto, next backup is normal/small. Open iPhoto and add pics or edit something, next backup only grabs the pics and associated files that changed.

Tearabite... I stumbled across your thread while researching the exact same issue I am facing with iPhoto 11 on OSX Lion 10.7.3. I too had setup my iPhoto library on a shared sparse disk image per the Apple Support link you posted. My incremental Time Machine backups are ~ 60 GB everyday... 59+GB are coming off iPhoto i.e. it's backing up EVERYTHING EVERYTIME.

I tried your suggestion of running a Permissions fix (via Option + open iPhoto) and that didn't do anything for me. Not sure how you hid/unhid the volume using Onyx, but that was the next thing i wanted to check, if you can share some more details on how that was done.

For now I've excluded the sparse disk image from my TM backups else it runs forever and ever over my Wi-Fi to the NAS.
 
Ok. You are storing your iPhoto library inside of a disk image file, which obviously is a single (huge) file. So any time the disk image changes, Time Machine will back up the entire file, which in your case is many gigabytes. Setting aside the debate on whether or not you should house your iPhoto library inside of a disk image, what you want to do is exclude the disk image file from Time Machine, but include the mounted volume (the volume that mounts when you double click the disk image file). I'm assuming here that Time Machine will back up a mounted volume. If so, this should take care of it. But keep in mind that your photos will only get backed up if your disk image is mounted when Time Machine kicks off a backup.
 
Ok. You are storing your iPhoto library inside of a disk image file, which obviously is a single (huge) file. So any time the disk image changes, Time Machine will back up the entire file, which in your case is many gigabytes. Setting aside the debate on whether or not you should house your iPhoto library inside of a disk image, what you want to do is exclude the disk image file from Time Machine, but include the mounted volume (the volume that mounts when you double click the disk image file). I'm assuming here that Time Machine will back up a mounted volume. If so, this should take care of it. But keep in mind that your photos will only get backed up if your disk image is mounted when Time Machine kicks off a backup.

Yes, I've already excluded the disk image file from Time Machine as of yesterday and i've looked at all the incremental backups since. They seem to ignore the mounted volume so not sure this is how it would work. My disk image is mounted when TM backups are running.

The Apple KB solution was written 3+ yrs ago so its possible things have changed since. Agreed, that the disk image is a single file unlike the sparse bundle which would probably give better flexibility to backing up photos in increments? I'd rather not have to store iPhoto inside a disk image, but I need to share the common library across different accounts and this seems to be the only way Apple allows you to accomplish that; it needs a location where permissions are ignored.
 
I'm having this problem running macOS Sonoma 14.7.1. My Photos Library and all other photos are being kept on an external fast Thunderbolt SSD (Samsung 990 PRO 2TB formatted as a single member RAID so I can add a second Samsung 990 PRO 2TB when the first fills). I have Ignore ownership on this volume checked on. Frequently Time Machine will seem to backup most of the Pictures folder and/or Photo Library without much being changed. I can't figure out why Time Machine is doing this. Can anyone help?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.