What do I do about this computer problem I had today?

Today I accidentally deleted my favourite file folder, leading to around 40 hours of lost work, and then I used trouble shooting methods to restore the file to the condition it was around 10 hours ago, leading to around 2 hours of lost labour, as opposed to 40 hours of lost labour.

I was just thinking, that if my file was bigger, like, let's say, If I had invested 9 months into that file folder and then accidentally deleted it, it would be a bigger loss.

I now want to create duplicate folders and duplicate files where I cut and paste content from my current files into another place so I will not lose all my work if a computer problem arises and I somehow lose my current database, but it seems time consuming to duplicate everything, especially when you are working on 12 files a day.

What do I do about this computer problem I had today?
Post Opinion