Missing Folder maybe after moving from legacy to cloudkit

I am missing a folder, it is just gone with lots of pdfs from years. I have icloud sync on. I switched to the cloudkit from the legacy and at this time I think that is when lost. I don’t know for sure. Is there a log file I can look into or steps to take to retrieve from backups or something? They don’t exist in my trash.

Was this an indexed folder or an internal group inside the database? Did you check whether it can be found via the search in the database?

It was all the database and files. Not sure when maybe when I did a cleanup and must had that folder selected when I deleted another. I was able to restore from blackblaze backups thankfully.
That is the only thing I can think of that happened.