iPhoto 2 now writes an XML file titled “AlbumData.xml” every time you make a change to a photo. This file contains all of your image references, your comments, titles and keywords.
As iPhoto rewrites the entire file on every change, you can safely add this file to your .Mac backup list.
The file can be found in your iPhoto Library folder.