Employee caused $32.9 million start-up to go offline after accidentally deleting the wrong file

GitLab were pretty open about the fact it deleted a whole database.

WHEN you have a start-up with $32.9 million in funding and handle valuable customer data, it’s probably not the best look to go offline because an employee accidentally deleted your database.

This is what happened to high-profile Silicon Valley start-up GitLab — a virtual workspace for programmers to merge individual projects.

The problem with the service started when spammers were hammering the database, making it unstable.

A system administrator attempted to tidy up the backup database and restart the copying process to fix the slowdown on the service, which would have all been fine if the employee didn’t type the command to delete the directory.

“After a second or two he notices ... terminates the removal, but it’s too late. Of around 300GB only about 4.5GB is left,” the company wrote in a blog.

Following the incident GitLab took the site down for emergency maintenance, keeping all of its customers informed on social media, which saw the company praised for its transparency

While noticing the error quickly, the start-up was unable to fully restore all of the data.

“Out of five backup/replication techniques deployed, none are working reliably or set up in the first place. We ended up restoring a six hours old backup,” the company wrote.

Thankfully, the database in question only contained comments and bug reports, meaning it wasn’t home to anyone’s code that would have been lost from the missing six-hour window.

What is the worst mistake you have made with deleting something? Continue the conversation in the comments below or with Matthew Dunn on Twitter or Facebook.

The a Best Way to Back Up Your Computer2:02

Cloud storage services Crashplan, Carbonite, Backblaze and SOS Online Backup archive your digital life. Personal Tech columnist Geoffrey A. Fowler tests the options. Illustration: Wesley Bedrosian

MORE IN Computers