Recovering lost files

I had Logseq open overnight. Next morning several recent pages were lost. I had turned off my WiFi thinking that would prevent any overnight unwanted activity. I’m still very much a novice when it comes to computer technology. Is there a way to restore my pages or are they lost forever? What do i need to do to prevent this in the future? Thanks in advance for your assistance. I should add, I’m also new to being part of a community like this, so please be patient with me.

Do you use any sync service to sync?