Thrilled you got it back! It's not always a happy ending.
Now, do your future self a favor and do a proper backup. It can via the backup function, or as you learned, copying the .dats from their folder and stashing them safely somewhere as a backstop against losing anything via a game crash, power outage or any other kind of digital misfortune.