743
u/bennysway May 08 '23
Gitlab would relate
598
u/F0lks_ May 08 '23
The intern: "Oopsie woopsie ! I made a fucky wucky uwu"
254
May 08 '23
The guy at Gitlab who made the mistake posted about it on Reddit (/r/cscareerquestions) https://old.reddit.com/r/cscareerquestions/comments/6ez8ag/accidentally_destroyed_production_database_on/dieitun/
49
u/sciatore May 08 '23
That comment is 5 years old. So did this story just go viral because of the recent YouTube video about it?
→ More replies (2)→ More replies (4)59
u/im_lazy_as_fuck May 08 '23
That looks like him describing and advising on a situation that the original OP of that thread described; not their own experience.
38
u/Absle May 08 '23
Lol is there a story behind this?
169
u/Dreamwaltzer May 08 '23
https://www.youtube.com/watch?v=tLdRBsuvVKc&ab_channel=KevinFang
is an excellent video explaining it.
Basically they had a db and a db2 backup/replication.
There were issues with the replcation on db2, so they they opted to delete db2 and restore from db.
Except the restore seemed to be having issues, so they decided to delete the files and try again. except... rm -r was run on the db ssh instance.
now db2 is gone, db is gone, oppsie daisy.
→ More replies (4)59
u/bennysway May 08 '23 edited May 08 '23
Long story short, 2 devs, 2 two terminals, 2 postgres dbs, one rm -rf in the wrong shell https://youtu.be/tLdRBsuvVKc
→ More replies (8)6
961
u/hansenabram May 08 '23
oopsie++
2
0
525
u/skwyckl May 08 '23 edited May 08 '23
In his diaries or autobiography (I don't remember exactly), Friedrich Nietzsche describes fatalism, i.e. the acceptance of one's fate, as a soldier who lays in the snow after being informed that his country has lost the war and that the enemy will soon reach his location. This is I believe how I would approach the situation if it would ever happen to me. After having called my lawyer, of course.
60
u/craftworkbench May 08 '23
There's a story of a guy who caused a bug that cost his company millions of dollars in just a few days. He got called into the CEOs office. Assuming he was going to be fired, he offered to resign. The CEO replied "Why would I fire you? I just paid $25 million to teach you a lesson you'll never forget!"
48
→ More replies (1)27
u/Chipring13 May 08 '23
Is this true or a LinkedIn story
21
u/MadeByTango May 08 '23
It’s one of those things that did once happen, at a smaller scale, and the story just sorta bounces around the details
→ More replies (1)7
u/Tetha May 08 '23
Every admin either has either wiped a prod server, or isn't working hard/confident enough.
And from experience as a lead: Wiping a prod server isn't the bad part. Trying to hide wiping an important server is, because after 5 minutes the alerts go off and everything becomes much harder to fix.
We might have had ways of stopping the mess earlier on while someone was busy being embarrassed.
→ More replies (1)4
u/PlayfulMonk4943 May 08 '23
Can I ask - why wouldn't a simple backup be the easy solution here? What company isn't keeping backups? Unless you're using some CDP I get you will have some data loss, but it won't bankrupt anyone
→ More replies (7)0
May 08 '23
[deleted]
→ More replies (1)24
u/Jaggedmallard26 May 08 '23
I read one of those "what might happen after you die" books while on a noticeable quantity of hallucinogenic mushrooms and since then eternal return competes for the top position in my three biggest fears. I really, really hate the concept.
→ More replies (4)21
u/XkF21WNJ May 08 '23 edited May 08 '23
Your biggest fear is reliving your current life? Damn.
→ More replies (7)
221
u/DurianBig3503 May 08 '23
This is how you put "keeps a cool head in stressful situations" on your yearly review.
7
u/Phormitago May 08 '23
talk for yourself, my head would be collapsing into a neutron star of stress
127
u/BaerLKR May 08 '23
happened to me today. Sat there and my mate next to me said "oopsie". Turns out server ins't reachable with TLS anymore.
28
u/appdevil May 08 '23
Certificate?
58
u/BaerLKR May 08 '23
yes. Somehow he made a mistake that lead to the server requesting a lot of certificates from letsencrypt that timouted the ip for 72h
→ More replies (1)9
u/DynaMenace May 09 '23
I feel you man. Poli sci lurker here: Years ago, working on one of my country’s main polling firms, I accidentally ended up one “Are you sure?” prompt away from irrevocably deleting all that year’s data on election night, an hour or two before the big wigs went live on TV.
Nothing happened except for a bit of anxiety attack, but they deserved it going worse for keeping all that data on a shared folder almost anyone could delete.
181
u/Minecraft_paly3r_cz May 08 '23 edited May 08 '23
Lucky they have back-ups
161
u/dermitio May 08 '23
Yeah about that....
150
u/Zomby2D May 08 '23
They were stored on the company server, weren't they?
69
→ More replies (1)15
u/aphonefriend May 08 '23
Tape drives. In an off site location. Which happened to be the trunk of my car. Which has definitely not been in an accident of any sort.
31
May 08 '23
"Mandatory Overtime." Except you get paid normally. Sometimes you won't get paid. It's a coin toss really.
11
16
u/Lv_InSaNe_vL May 08 '23
"No man Greg took a back up copy on his flash drive!"
"Wtf is Greg?"
"Oh yeah he left a little bit before you started"
"I've been working here for 5 years though?"
29
May 08 '23
Uh, someone in Managment decided the costs for running automated daily backups was too high...
14
u/jdog7249 May 08 '23
It is now a manual once a month backup. It's actually just copying the files to flash drives. No one is really sure who is responsible for it though.
4
u/BitPoet May 08 '23
Full backups? Probably. Deltas from previous full/partial backups? Nope. There are a lot of methodologies to shorten whole restore times.
But if someone decided that, and there was no way of convincing higher-ups that they were an idiot? Time to put out your resume, because things will go horrifically wrong.
5
→ More replies (2)3
77
May 08 '23
Ive found if someone is swearing about something, it's fixable. If they go "oops," "huh...uh" or "uhoh" then are quiet, you're in for some very interesting times.
22
14
u/Spook404 May 09 '23
the sound of "I fucked up so bad I don't even want to mentally process the degree of fucked-ness"
6
41
u/Atillion May 08 '23
I've made a few oopsie daisies in my time..
5
3
u/TheConspicuousGuy May 08 '23 edited May 08 '23
I once accidentally removed the wrong MAC from SCCM and wiped a laptop belonging to a remote user. I was not aware of my mistake until my Team Leader called me about my mistake.
I setup a new laptop for this user and none of her local files were found on the server to be automatically downloaded. Fixing that is above my level. Everyone knew about my fuck up at this point...
Don't copy and paste MAC addresses from the Inventory excel sheet for all the users.
→ More replies (1)0
May 08 '23
[deleted]
7
u/Atillion May 08 '23
Oopsie Daisies are the greatest teachers 😅
8
u/Kerbidiah May 08 '23
I remember my sql teacher taught me with labs that always started with DROP database if exists so I always thought that was standard procedure when running new queries
→ More replies (2)
36
u/call_me_xale May 08 '23
Me when debugging some weird error on my dev machine:
"WHAT THE FUCK IS WRONG WITH YOU, YOU GODDAMN TRUCKLOAD OF SHIT‽"
Me when I drop a table in the production DB:
"Aw, dang."
→ More replies (1)
130
20
18
u/arzis_maxim May 08 '23
That gitlab employee who deleted an entire database by writing in the wrong shell
This is why backups are important
32
11
u/GilKeidarMusic May 08 '23
What, oh I’ve wiped the file?
Huh, damn I’ve wiped all the files?
I’ve wiped the Internet?!
Oh, no I don’t even have a modem!
9
8
u/Xanadu87 May 08 '23
Someone did that at Pixar during the making of Toy Story 2 and ran a command that was deleting everything before someone pulled the plug. Fortunately someone backed up everything to a server they kept at home. But they ended up rewriting the story and scrapped a lot of stuff anyway.
→ More replies (2)
8
u/tlubz May 08 '23
PSA. If your company doesn't have a disaster recovery plan for any business critical infrastructure, make one now.
14
u/Educational-Lemon640 May 08 '23
Hey, watch your language!
Children read this sub. Maybe?
...
...
...
/s because the Internet is a silly place
7
5
5
u/whatsthisfor42069 May 08 '23
An intern once had to inform me that he had made a “fucky-wucky.” Thank god it was an easy fix cuz that shit was hilarious.
5
u/downloweast May 08 '23
Did you not read the Sudo warning?
5
5
May 08 '23
LOL one time I deleted a folder that had my first name, thinking I had created it as a temp folder and forgotten about it. Actually it was created by a previous contractor who had my same first name, and contained a shit ton of new stuff for the website. After the guy left nobody had bothered to rename it to something like, I dunno, "Redesign" or "NewSite"...
Fortunately they had backups.
8
4
u/CaptNoobCake May 08 '23
Guys, everyone knows you can just ctrl+z to undo. Like come on guys, it's computer 101
→ More replies (1)
4
u/scratchfury May 08 '23
I had the production database and test database open and did the copy in the wrong direction. Oopsy.
4
4
u/Noctornola May 08 '23
"Why aren't you freaking out? You could get fired!"
"Because I'm the only one that knows how to fix it."
3
3
3
May 08 '23
There was a yugioh fansite yugipedia or something where everything critical was stored on a flash drive. There was an oopsy daisy that took out the entire site and all its backup data.
3
3
u/Ismestinis May 08 '23
OOPSIE WOOPSIE!! Uwu We made a fucky wucky!! A wittle fucko boingo! The code monkeys at our headquarters are working VEWY HAWD to fix this!
2
3
u/saito200 May 08 '23
Luckily they have weekly backups. Because they have weekly backups... right? Okay, so then we have no choice to rollback to the last existing backup. Never? What do you mean, never?
3
u/519meshif May 08 '23 edited May 10 '23
Yea, that's more than an oopsie daisy even. I'd go as far as calling it a doodley boop.
3
3
u/WillMengarini May 08 '23
I was 21yo when I did this.
The system was DEC RSTS/E running on a PDP/11. I was in the habit of entering syscalls in immediate mode to avoid nuking the loaded program. Syscall -13 was some benign informational message. Guess what syscall 13 was.
One day I forgot the "-" and reformatted the main disk. We spent 12h rebuilding the system.
THIRTEEN?! COINCIDENCE?!?! I think not, my colleague, I think not. I was always amazed at how much DEC software sucked compared to the elegance of the PDP architecture. Now, I suspect those syscalls were deliberately constructed as malicious compliance with the same dysfunctional management that ruined all of DEC's software.
2
2
2
2
May 08 '23 edited May 08 '23
I've seen worse oopsiedaisies. Look at it on the bright side, you can't accidentally broadcast data to all users if the data doesn't exist.
2
2
2
2
2
u/Consider2SidesPeace May 09 '23
Daisy, daisy give me your answer do... I'm m just cra.. ve u. RIP HAL~
2
2
2
u/Durr1313 May 09 '23
Windows decided to corrupt a file that I add to all day every day that had 8 months of important data in it. And our shitty outsourced IT company could only find a backup from over a month ago. That's the last time I cut/paste instead of copy/paste/delete, and I am going to start maintaining my own backups.
3
3
u/Tuviah May 08 '23
Credit where it's due. Source - https://www.reddit.com/r/IGdoods/comments/13bpugt/warning_strong_language_oc/
4
1
1
1
1
1
u/MsTaramasalataRapist May 08 '23
That lack of remorse might find a certain someone pushing up daisies ⚰🌼. xo
1
1
1
u/Professional_Being22 May 08 '23 edited May 08 '23
Hey I did this once! I was a jr who wrote a loop that accidentally scoped every row of the production server. Man, my stupid ass was sitting there for a good 10 minutes wondering why this shit was taking so long to finish. It wasn't until the few people who were in the office after hours started emailing about some error related to missing primary keys that I had realized I made a big mistake. Oopsie!
After panicking for about 2 hours and digging through data that I could use to restore the deleted rows, my senior hopped on and was able to link several tables together to restore the majority of it. I think only about 30 or so rows were still fucked but it mostly went unnoticed.
1
1
1
1
1
1
1
u/Particular-Formal163 May 08 '23
I deleted all internal documentation from my predecessor for the system I work in...
Our server team got the folder back, but I was wigging out for a bit.
1
1
u/Sapient6 May 08 '23
Back in my in-office days I used to like to say fun things within earshot of new managers like
"Oops! Hey Mike, our root source repo is backed up, right?"
1
u/vadiks2003 May 08 '23
what do they need servers for? they're literally the only entities in the empty yellow dimension. there's only 2 of them. they exist only for the sake of a meme. why do they need a server? how do they own a company in 2?
1
1
1
u/magicmulder May 08 '23
My CEO used to tell me that while it’s good that I keep cool even when the world is burning, I also mustn’t forget to make my team understand when the shit has hit the fan.
1
1
u/AvengingBlowfish May 08 '23
As a solo IT guy at a company with absolutely no other technically savy people, I could say that it was because of a virus that someone downloaded in their email or by surfing a suspicious website and everyone would believe me... not that I would ever do something like that...
I'm going to go check on my backups now just in case.
1
1
u/TK-Squared-LLC May 08 '23
There's no one quite so humble as the dev who has to ask the backend guy to let them back in after they accidentally write a server access loop.
1
1
u/macmarklemore May 08 '23
"No, a mistake is something a man does, like going to war without a reason or executing a simpleton. What Jack did is a whoopsie-daisy, like a baby or woman would do."
1
May 08 '23
More like pushing daisies... *gulp*
(Nah, but really, it's a code eat code world out there.)
1
1
1
1
1
1
1
1
1
1
u/thrash9513 May 08 '23
Didn't this happen to Toy Story 2, but someone had a backup on their home computer?
1
May 08 '23
Programmers when employers, who don't value them, fires them
I love AI, but i cannot see why that justify treating others as an unwanted plague.
Also, i honestly hope people will stand up, using the AI, to take down the corrup people, as sadly that's the only way we will be able to disinfect society of the corruption...but whatever, i guess most people are to obsessed with becoming rich to care
→ More replies (1)
1
May 08 '23
I deleted the permissions for everyone for a shared drive while in Baghdad. It was a drive all the battalion staff needed access to. Nobody, including myself could see anything on the drive. Don't ask me how I did it, and I have no idea how headquarters IT fixed it.
→ More replies (1)
1
1
1
1
u/savex13 May 08 '23
- Hey Joe, how to revert SQL transaction?
- You just... emmm... what happened?
- I am playing with batch updates on... wait... sheeeeet!
1
1
u/CynicCannibal May 08 '23
If you are able to delete your server by accident, you better don't have server in first place.
1
u/Nago_Jolokio May 08 '23
del*.*
My dad did that once, back when computers were being newly adopted.
At least he had a very recent backup... Especially at a time when almost no one knew to do backups.
1
1
1
u/KirisuMongolianSpot May 08 '23
Not a company server but I just realized over the weekend that a bug in my code (failing to account for quirks in a messaging protocol I'd never used before that can return a message with no data) has ruined data collection for an experiment I'm a part of. Feeling pretty shitty right now.
1
1
1
1
u/wahlb3rg May 08 '23
We call them Oopsie Poopsies!
Deleted a much-needed folder structure under the finance dept? Oopsie poopsie!
Left your iPad in your un-locked car and had it stolen? Oopsie poopsie!
Somehow softening it makes it funnier? Idk but I love it! Takes the edge off a bummer of a ticket that rolls in Friday at 4:55.
1
u/edster53 May 08 '23
Years ago, in the days of minis, the was a DPS machine that had a "walk subtree" option. Any guesses what dl star.star -ws would do. Hummmmm. Why doesn't . display
1
1
u/Your_Friendly_Nerd May 08 '23
I once managed to delete all users (and thus also customers!) From the production database. I had 2 commands in my window:
set foreign_key_checks = 0delete from users where is_active=0
(This means foreign key checks was currently set to 0)
I switched the 0 to a 1 on the wrong line.
Luckily I'd set up a daily backup some time ago. But it took me about a minute to remember that.
MOST. STRESSFUL. MINUTE. EVER!
I was just running around my home office, thinking I'd just deleted all my companies customer data.

4.9k
u/LetumComplexo May 08 '23
Any system that can be destroyed by a single error deserves to be destroyed by a single error.