Copying of iPhoto library going very slowly

Hello, all,


Yesterday I purchased a brand new 1TB firewire 800 external drive. It's correctly formatted for my Mac. I had wanted to put my iPhoto library on this drive, OR use it as a backup location for the library. Either way, I needed to copy it over from my iMac's internal drive.


I tried twice to copy the library (using the Finder), which lists itself as 89GB. Each time the Finder progress bar indicated the copy would take two to three days. That sounded like way too short a time over Firewire 800. To test things out, I did a different backup copy of my *iTunes* library, which is also over 80GB. That library lives on a different external drive, using Firewire 400. THAT copy took less than an hour, and it had to go downstream from one external and then upstream to the new external. A second copy of other files from that external drive also went swimmingly: 22GB in about 12 minutes.


Does anyone have any insight into what might be happening? Is there something unusual about iPhoto libraries that makes them copy more slowly than other kinds of files?


Thanks for your help!

iPhoto '11

Posted on Oct 1, 2012 5:05 AM

Reply
17 replies

Jun 13, 2015 6:44 PM in response to lkalliance

After reading samking71's post I did some more research and found the following information on Experts Exchange (Thanks serial band!):


"You should use rsync instead of cp for copies of large folders. rsync also has options to show the progress. It will also synchronize the files. In case you interrupt the copy, you won't have to start over. If your cp has already completed, your future copies will go much faster with rsync. You could run rsync anytime.

rsync -avz /Users/missy/Pictures/iPhoto\ Library /Volumes/Missy/iPhoto\ Library

That -v option means verbose and you'll see each file and folder.


rsync -azv --progress /Users/missy/Pictures/iPhoto\ Library /Volumes/Missy/iPhoto\ Library

The additional --progress option will show you the percent completed, which is only really useful if you have large files.


You can also redirect the output to a log file.

rsync -avz /Users/missy/Pictures/iPhoto\ Library /Volumes/Missy/iPhoto\ Library > rsync.log

Or output to screen and a log file simultaneously.

rsync -avz /Users/missy/Pictures/iPhoto\ Library /Volumes/Missy/iPhoto\ Library | tee rsync.log


The initial copy might be faster with cpio or cp -a, but if it gets interrupted, you don't really want to start over from the beginning, so rsync is especially better once you have a copy, and it's better overall. "


With rsync -azv --progress i was able to backup 300GB of content from the new Photos Library to an external drive overnight. The issue i had with cp was i couldn't see that it was working. With rsync -azv --progress i was able to see files being transferred. I then used "Get Info" to see the progress based on file size.

Oct 1, 2012 5:32 AM in response to lkalliance

That sounds like there's a problem on your system somewhere or the external hard drive. When you are doing a copy of the iPhoto library, open your the application called Activity Monitor which is found in your Applications/Utilities folder. Look at the disk activity tab. Also, run the console application which is also found in yourApplications/Utilites folder. Both of these programs should help you figure out what is going on. If you are close to an Apple Store, you might want to check in at the Genius Bar and see if they can help you debug the problem.

Oct 1, 2012 7:29 AM in response to Yer_Man

Terence and Brad,


The drive was formatted Mac Extended Journaled. I didn't reformat it upon first setup, but when I was clearly having this problem I went to check it on Disk Utility and that's how it was formatted.


Follw-up: I had started a most recent copy this morning, a few minutes before posting this post. Once again the copy started out very slowly and listed 2 days as the expected time. But suddenly, not long after posting, the speed picked up and when I left for work the time remaning was down to 18 minutes (and still decrementing at a rate faster than the clock on the wall). All told if it did take another, say, 15 minutes then it all would have been done in about 35 minutes, which is more along the lines of what I expected.


So perhaps it is something about the iPhoto Library itself that causes this pattern (perhaps the Finder is still cataloging all the files to be copied while trying to produce its estimate), and/or I didn't give it enough time to work itself out before posting.


Thanks, however, for your quick responses!

Dec 2, 2012 4:21 PM in response to lkalliance

The problem is that the iPhoto library is actually a "package" with thousands and thousands of files. Apparently this overwhelms the Time Capsule file server.


The solution for me was to create a disk image sparse bundle and copy to that. This apparently circumvents the above problem since the files are first assembled on the computer then copied in "bands" to the disk image. It went very quiclky when I did this.


This was not my idea - learned it here: http://help.bombich.com/discussions/problems/1377-backup-of-iphoto-library-to-no n-apple-nas-extremely-slow

Nov 10, 2013 12:20 PM in response to lkalliance

If you only need to back up your photos and not all of the iPhoto Library package, you may just select show package and open the folder system inside the library. Then, you only select the originals... or the modified file Folder (there is a link to the folder somewhere and therefor it's easy to find it) and just copy that to your external hard disk or Time Capsule... It will be copied there fast like a normal file ;-) ...In my system i needed a day to copy my library if dragged all of it to the external disk... while doing as i described.. it only needs 46 minutes! 😉


The photos there are organized by year and by date so it is pretty cool to browse them all.

Nov 10, 2013 1:08 PM in response to thanos206

Well no you don't if you have any value in your Library. Accessing the Library via the Finder or any other app is dangerous and can lead to corruption and dataloss. If you are going to advise people to do this you should at least warn them of the possible outcomes.


Further, if you copy over the original then all you get are the photos as downloaded from your camera. No added metadata, no edits, only the the files in folders named for the date and time they were imported.


There is no longer an "modified" folder. There is a Preview folder. That contains lower quality versions of your edited photos. These too are missing a lot of the metadata - they don't even have all the metadata the originals have.


So there's two instances of dataloss already, not to mind the further risk if you accidentally disrupt the Library.


The Supported way to access the files is to Export them


File -> Export


Here you can export all the Original files to a folder scheme of your choice and naming style.


You can export your edited photos to a variety of formats, including all the metadata from the original and any you've added since - places, keywords, captions. You can select the size and quality of the output shot as well. Again, you can export to a folder scheme of your choice and naming style.


And none of this involves any dataloss or danger to your Library.


This User Tip


https://discussions.apple.com/docs/DOC-4921


has details of the options in the Export dialogue.

Mar 18, 2014 4:01 PM in response to lkalliance

I found a fast soution 45 Gb Library copied in ~30 min. over USB 2.0


I did a semi-manual copy, by opening the iPhoto Library - "Show package contents" (in right click menu) then copying the contents to a new iPhoto libaray "Package"


Instead of copying all at once copy the small files/folders in one batch, wati to complete, then copy the larger files folders. You can copy the package contents one folder at a time or a few at a time. I found that copying the Library files in one batch, then copying the Masters, Previews, & Thumbnails in a second batch seemed to work well without choking up.



Here's the steps


  1. Connect your hard drive or Mac in Target disk mode
  2. navigate to the folder containing the iPhoto Library you wish to copy
  3. 'Right click'

    Show Package Contents

  4. You'll see apx 19 files - select all but exclude 3 folders: Masters, Previews, & Thumbnails you'll come back for theses later
  5. Copy these files to an empty folder on your destination drive/Mac (Later you'll use iPhoto to make a new libary "Package" then you'll put these files inside it) The copy should take a few minutes, high volume + tiny files
  6. When the first copy is finished, go back and copy the remaining 3 folders Masters, Previews, & Thumbnails. This is the opposite as previous step, lower volume + larger files. Copy speeds should be normal ie 30 min. for 45 Gb over USB 2.0.
  7. Once all these files and folders are copied you need to put them into an empty iPhoto Library container. An easy way to do this is
    1. Launch iPhoto holding the Option key
    2. Choose 'New Library' (choose an apprpriate name)
    3. Quit iPhoto
    4. in Finder go to the new Library you just created (User/Pictures/) - be sure its the one you just made
    5. Right Click (Control + Click) the iPhoto Libraray
    6. Choose - Show Package Contents (now you're looking at the contents that makup an iPhoto library)
    7. Select all these files and folders and delete them to the trash

      Open the folder that has your freshly copied files and put them in this empty iPhoto Library package.

    8. Close finder windows (disconnect your hard drive or Mac)
    9. Launch iPhoto (you can hold the Option Key while launching iPhoto to choose the correct Library if you have more than one).
    10. Viola. You should have a functional copy from your old Mac/External hard drive.



REMEMBER!

The easiest way to mess up your iPhoto Library is to move things around inside the "Package contents" of your iPhoto Library. Its hidden in there for a reason, so don't go mucking about under the hood. Best practice is to touch nothing inside the "Show Package Contetns" of your iPhoto library. As described above, we're merely just speeding up a file transfer and copying files so they mirror their source in a new destination. Good luck.

Mar 18, 2014 4:15 PM in response to SLODuke

Ok - but extremely complicated and very risky and hard to see any real advantage over just copying the iPhoto library intact and letting it finish - it it takes a few minutes longer but so what - it is much safer that mucking around with the components of the library as you are suggesting)


Your ten step process with many manual interventions vs a single drag and drop and off to the movies while it copies


If you are going to do this mucking around inside the iPhoto library approach to potentially save a few minutes of copy time, be really sure that you have a good, current backup first


LN

Mar 18, 2014 5:06 PM in response to LarryHN

I stand behind this process is valuable if you're having trouble with copy errors and 1,2,3 day estimated copy time.


its not always a perfect world Larry, if you remember you threw in your worthless 2¢ yesterday on this thread https://discussions.apple.com/thread/4983653?tstart=0 1. I My time is valuable. 2. After 2 days of trying, this library wouldn't copy, it had error and wouldn't copy from drag and drop. I tried iPhoto First Aid, I rebuilt it with iPhoto Library Manager, tried cp/ditto in Terminal, I pulled the hard drive, Tried CCC etc etc. This 7 step process finally worked for me so I'm contributing it to the community. I don't know what you're doing because telling people they're wrong just to feel right is a waste of keystrokes IMHO.

Mar 13, 2016 5:27 AM in response to Yer_Man

maybe just leave it to get on with it?

Ok I just had this problem - I was trying to copy a 48Gb iphoto library as part of a safety back up for someone's computer before trying to solve the other problems with it. It started very slowly and before long was predicting it would take "about a day".... but while researching other solutions and discussing progress things speeded up drastically, and eventually it finished the process in less than a hour without my doing anything. My impression is that the first 300mb or so were very very slow to copy - but the rest went fine - but I was not watching closely enough to see when exactly the change occurred.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Copying of iPhoto library going very slowly

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.