Hosting company owner deleted sites and backups

How would you feel if the hosting company that you have entrusted with keeping your website has deleted all your files?

Mr. Marco he is the owner of a small hosting company, or to put it better, he was the owner of a small hosting company, which, unfortunately, will be closed after an irreparable mistake.rm rf hosting

Two days ago, Mr. Marsala had discovered a bug in the of, but since the damage had already been done.

As reported in the technical support forum, he managed to delete the company's server contents along with backup network files that should have been separated from the live site hosting infrastructure.

The error came from poor design in Ansible's code, one Linux used to run automated scripts at certain time intervals on multiple servers simultaneously.

Mr. Marsala revealed that one of the scripts he used was the very dangerous bash command "rm -rf", which tells a server to delete all data without ignoring the errors and without asking the user for any kind of confirmation.

As he explained, the pension she used was:

"rm -rf {foo} / {bar}",

where foo and bar were two variables that were dynamically defined and passed through the script.

Due to an error in processing the variables, the general syntax failed to enter their values ​​in the bash command.

So the command then became "rm -rf /", which means "delete everything without asking anything" on disk "/", which is the root of the computer, ie all drives.

So Mr Marsala and his 1.535 clients were left with no data, after deleting the backups after the destructive order ran into the backup servers.

Meanwhile, in support forums his clients are looking for ways to recover. The answer they get is:

"We will close it . No technical advice, you should call your lawyer.”.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

Written by Dimitris

Dimitris hates on Mondays .....

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).