Sounds like the school of Hard Knocks.
It's how we learn best.
I've trashed this machine many times.
I got a lot of practice rebuilding it the hard way.
Then I discovered backups.
That allowed me to rebuild the machine the easy way.

As time went on, and I got a little smarter, I found I
didn't trash the machine very often.

I still make backups but they just sit in a draw without
much to do.