How to rebuild Aperture Library from backup
Here is my setup: I have a laptop with all current photos and starred photos and an external HD with everything else. I also have a home sever that has a backup of everything.
ie:
Laptop photos + External HD Photos == Server Backup.
Critical Event: What happened recently was my Laptop HD died, so I lost all the photos on the laptop. However I still have a copy of the Aperture Library and it still opens correctly. With the External HD plugged in I can still view/edit those photos, but when looking at the photos that were originally on the laptop it errors, as this makes sense, the files are no longer there
What I want to do: I want to copy back all those photos that were originally on the laptop from the backup server.
My approach: Extract the file reference from the library, find the ones that reference ~/Pictures/ApertureLib/Album1/pic1.jpg and write that to file. Then simply write code that goes to /BackupServer/Pictures/Album1/pic1.jpg and copies it to ~/Pictures/ApertureLib/Album1/pic1.jpg. Then all my photos are back and have a fully functioning library again.
My Issue: I have no idea how to extract the file location reference.
I am also open to other solutions and suggestions. Thanks!
Aperture 3, OS X Mountain Lion