I've been working on a small consulting project for ~3 mo (100 hours), mostly Apex with a little configuration. I used a sandbox per recommendation. I started to work on the deploy process today and per official recommendations as I read them updated my developer sandbox first, after backing it up as best I could easily. Of course, the refresh blew away all my work: my code and my configuration. No option was provided to refresh less.
Why does Salesforce tell you to follow a process that deletes all your work?
I guess there was some implicit understanding I was supposed to have created some sort of changeset first? Was there some way to know that??
If they really want you to start fresh, couldn't they at least provide a backup option that backs up more than just your data? Or at least a prominent warning in the deploy documentation?
Is there any easy way to get my work back? (I'm not a total idiot; the Apex code I spent dozens of hours on is in my code repository and I can upload the files again and rebuild the trigger config.)
Official deploying doc I was trying to follow: https://developer.salesforce.com/docs/atlas.en-us.dev_lifecycle.meta/dev_lifecycle/deploy.htm