I'm glad this worked out well for you.
Though there was obviously no reason to "know" that you needed to back up your data, it still bears mentioning - there's no way of knowing EVER when you will need to back up your data.
So back it up early, back it up often, and back it up when you don't think you need it.
A phone is a very poor place to keep unique copies of anything of any value. Data loss could come from an unexpected OTA upgrade, a malfunctioning charger dropping 120V into your phone, or dropping it down a sewer drain never to be seen again by living men.
Heck, as I learned from the school of hard knocks last year, even a hard drive in a desktop is a bad place to keep unique copies of anything. I'll never get that six months' worth of family photos back. I got lazy with my backup plan and Mr Murphy went all karmic on me. A malfunctioning UPS fried the power supply (ah, irony!) and the voltage spike fried the CPU, the motherboard, and the controller board for the hard drive.
It happens. And it sucks. But it happens.
One copy bad, two copy nervous, three copy sleep-at-night, four copy good.