Trusted Reviews is supported by its audience. If you purchase through links on our site, we may earn a commission. Learn more.

When coding goes wrong: Man wipes entire company with one command

The proprietor of a web hosting company appears to have deleted his entire company and the sites of his clients by inserting a single line of bad code.

The Independent reports that Marco Marsala used the infamous “rm -rf” line and inadvertently wiped the servers, which also housed his 1535 customers’ data.

The command is used to delete items on a specific part of the computer. However, as one was not specified, Marsala just nuked everything.

Related: 5 tech blunders to rival the guy who deleted his entire company

Unfortunately, the hard-drives on which the data was backed up were mounted to the server. So they’re gone too.

After asking for help on the ServerFault forum, Mr Marsala was given bleak news from a number of posters.  

One user, known only as Sven, wrote: “I feel sorry to say that your company is now essentially dead.

“You might have an extremely slim chance to recover from this if you turn off everything right now and hand your disks over to a reputable data recovery company.

This will be extremely expensive and still extremely unlikely to really rescue you, and it will take a lot of time.”

Related:
How to turn an old PC into a media server

Another, named André Borie had little in the way of comfort, adding: “If you really don’t have any backups I am sorry to say but you just nuked your entire company.”

Others were less sympathetic. Massimo wrote: “Well, you should have been thinking about how to protect your customers’ data before nuking them. I won’t even begin enumerating how many errors are simultaneously required in order to be able to completely erase all your servers and all your backups in a single strike. This is not bad luck: it’s astonishingly bad design reinforced by complete carelessness.”

Michael Hampton added: “You’re going out of business. You don’t need technical advice, you need to call your lawyer.”

None of Mr Marsala’s customers appear to have commented publicly yet.

His misfortune or incompetence, however you want to frame it, is a cautionary tale to all. Next time you’re messing around with a Raspberry Pi make sure your backups aren’t connected to the server!

Why trust our journalism?

Founded in 2003, Trusted Reviews exists to give our readers thorough, unbiased and independent advice on what to buy.

Today, we have millions of users a month from around the world, and assess more than 1,000 products a year.

author icon

Editorial independence

Editorial independence means being able to give an unbiased verdict about a product or company, with the avoidance of conflicts of interest. To ensure this is possible, every member of the editorial staff follows a clear code of conduct.

author icon

Professional conduct

We also expect our journalists to follow clear ethical standards in their work. Our staff members must strive for honesty and accuracy in everything they do. We follow the IPSO Editors’ code of practice to underpin these standards.

Trusted Reviews Logo

Sign up to our newsletter

Get the best of Trusted Reviews delivered right to your inbox.

This is a test error message with some extra words