BaseCamp upgrade ate database?

Well, that wasn't fun.

I saw that there was a BaseCamp update so I did "check for updates..." from my install (3.0.2) but had to interrupt the download in the middle (which shut down 3.0.2). When I restarted, "check for updates.." was not available, so I just downloaded the file from Garmin and installed.

On startup of 3.1.1 I get the message "Database file is corrupted and backup file can't be found." and then I'm dropped into an empty BaseCamp... I've lost all of the data I carefully entered.... or maybe not.

I think I recovered the database by:
1. Looking at ~/Library/Application Support/Garmin/BaseCamp I see two subdirectories, 3.0 and 3.1 and AllData.gdb and FolderData.gfi have VERY different sizes between the two.
2. I quit BaseCamp.
3. I renamed the 3.1 folder to 3.1.orig, created a new '3.1' subdirectory, and copied the 3.0 data over to the 3.1 subdirectory.
3. I restarted BaseCamp, and... it looks OK.

Still, this was scary. And if I wasn't familiar with Terminal I would have been *really* unhappy. Hopefully no one else has this problem!