News for hackers. Stuff that matters.
Re:I automated my job over a year ago and haven't told anyone by gerikson on Wednesday January 19, 2022 @06:11PM (#30001832)
Nothing as dramatic as your story, but the reason I learned Perl back in 1999 or so was because I was a contractor for a contractor for a company that imported a CDs worth of XML into a database every week. The importer was written in Java, the import took around 3 days, and frequently broke because the XML didn't have escaped ampersands etc.

I wrote some scripts that chunked the input, sanitized it, scripted loading and reloading (basically baby's first ETL) and got it to run without failing every week.

A few months later I fat-fingered a rm -rf and lost all the scripts. There were no backups because the machine was not rated as being in production.

Re:I automated my job over a year ago and haven't told anyone by jquast on Thursday January 20, 2022 @07:56AM (#30008293)
File recovery is always possible. Unmount the partition (remount read-only if you have to), use a program like hexedit to open the raw disk partition and search for a unique series of text found in your script files, copy and paste the contents into new file, script restored!