I got burned today.
I have been working on a feature for several months. I had a fair bit of work that had only lived on the staging server waiting to be included with the production server, and a sync of some sort to get it all up date.
Lots of small changes that were made in the console. Some user accounts that were needed to use the feature. And some database schema changes from the branch that was deployed.
Then it was all gone.
No admin account for me. No user account for testing. Various error because of missing database fields.
Something outside of my control happened to the server when someone was working on it and I lost my work.
It’s on me. I should have backed up my work however I could have.
Joel Spolsky has a great quote about things that are core to your business: If it’s a core business function — do it yourself, no matter what.
I’d like to take that one step further. If it’s core to the feature you’re building, manage it yourself. No matter what.
Backup your work.