top | item 32921549

(no title)

1983054104 | 3 years ago

Not really my fault but I broke it once. I used to work for a 2-person startup where the only dev had almost no experience. I setup a database instead of putting all the data in the PHP code. Fast-forward 2 months, I'm still the only one with a testing database on my own computer, and I decide to delete my local data and start from scratch. The other developer starts complaining that the site is down, and I quickly understand that he plugged the "production" on my local database. Luckily I had a backup for this DB and quickly restored it. We only lost a few days of work.

The lesson is: make backups and make scripts to setup everything from scratch in a few seconds.

discuss

order

No comments yet.