6 points · by vdfs · 9y ago · 5 comments
I wonder what other HN readers have learned from the recent Gilab incident
- you don't have a backup until you test restore
- use checklists and scripts
- use another person as soundboard, esp. to confirm destructive changes or "ad hoc" commands. Show intend. Acknowledge.
- every line entered in prod must have been tested in dev, with known result (ideally everythign in prod should be scripted)
- use cp or mv with date instead of rm (what changes are "irreversible")
- use different prompt/color background in prod terminals
- don't work tired