I did use time machine, yes. But note, it was a bit of rough sailing for me. The good news is, I got everything restored (eventually) with time machine, although I am having to reinstall apps and reconfigure a few settings here and there which takes time. But all my user data did come back.
At first though, I thought somehow I had wiped out/accidentally reformatted my time capsule. The reason being, partway through the time machine restore process, it failed, then when I rebooted and tried again in recovery mode, it didn't seem like it was showing anything on the time capsule to recover from. I eventually did a clean reinstall of Mojave (Made a bootable USB OS image.. although I actually has to start with High Sierra first and then upgrade, since the only Macs I have in the house are the 2011 variety that can't download Mojave).
Anyway, once I was back to clean Mojave and tried Migration assistant and still couldn't see anything on the time capsule, I just mounted the time capsule so I could see the data on it, and I noticed the backup had an extension .backupbundle instead of .sparsebundle. Renaming it back to .sparsebundle and retrying migration assistant did the trick:
https://www.macworld.com/article/3445481/can-t-find-your-time-machine-backup-after-upgrading-to-catalina-look-for-a-backupbundle.html