3 ms·
> Use Git. Use it for everything – infrastructure, configuration, code, dashboards, on-call rotations. Your git repository is your point-in-time-recoverable sou
by ChrisMarshallNY 4y ago
> Use Git. Use it for everything – infrastructure, configuration, code, dashboards, on-call rotations. Your git repository is your point-in-time-recoverable source of truth.
I'd amend that to "Use configuration management."
Git is wonderful, but it isn't a Swiss Army knife. There are some things that are better archived using systems like Perforce (many game developers use it, because Very Big Assets), or even simple incremental file system backups.
Back in the "dark ages," the Japanese release managers at my company used to clone an entire computer disk drive onto an external disk, and store that disk in a special file cabinet, so you not only had the source, you also had the entire system that was used to build it. This has some obvious issues, but it worked for them, for years.
Also -and I cannot stress this enough- TEST YOUR BACKUP RECOVERY. I have been in the position of needing to restore old files (either partially, or whole-hog), and found out, the hard way, that my backups were pooched.