Tech

Man typed a wrong code and deleted the whole company

In a bizarre incident, a man deleted his entire company and the websites of his clients by mistake after typing a wrong bit of code on his computer server.

Marco Marsala, ran a web hosting company with over 1535 customers that looks after the servers and internet connections on which the files for websites are stored.
He wrote on a forum for server experts ‘Server Fault’ yesterday, that he was stuck after accidentally running destructive code on his own computers, including the websites of his customers.

”I accidentally ran, on all servers, a Bash script with a rm -rf {foo}/{bar} with those variables undefined due to a bug in the code above this line”

All servers got deleted and the offsite backups too because the remote storage was mounted just before by the same script (that is a backup maintenance script),” he added.

 

(Source)

About the author

Himanshu

3rd Culture kid,Based in Dubai,He loves meeting new people from different cultures and enjoys learning new things everyday.

Add Comment

Click here to post a comment

Your email address will not be published. Required fields are marked *

Pin It on Pinterest