This was brought up by HiroMike on the server and I had time so I figured I would open up this FR. He explains it best so I am copying and pasting what he said.
Next time install a simple plugin called Local Backup. It automatically backs up your entire vault to a zip file throughout the day.
Obsidian Devs: might be worth considering something like this as a roadmap item. It works perfectly fine as a plugin but many people come to Obsidian thinking it’s a free version of Notion or something that stores their files in the cloud and they lose their files. Just a thought - make it a built in optional function with a note at install or something “your files are stored locally and not in the cloud. Would you like Obsidian to make periodic backups of your data- can be configured after install if you choose”.
Proposed solution
Be able to enable/disable an automatic backup of your vault to go where you wish. It creates a .zip in a location on your computer that you choose periodically.