Viewing a single comment thread. View all comments

barrycarter t1_jdj0w4z wrote

> always, ALWAYS double-check any script you're running on a live database

Wrong lesson. Your company should be making regular backups and, at most, you should lose no more than 1 day of work. Not your fault. Well, sort of your fault, but much bigger fault by the company.

13

FallsOnDeafEars t1_jdj1sdf wrote

He said it deleted the backups. Not sure why they'd be accessible by the ssme script though.

6

barrycarter t1_jdj2thm wrote

Right. The backups should be "untouchable". And why did the coworker write a script that somehow accessed all the backups. Seems dodgy

6