3 ms·
Ooohh something similar happened in our company some time ago: We had a MongoDB server (with a read-replica) in our production environment (this was an ec2 ins
by xtracto 10y ago
Ooohh something similar happened in our company some time ago:
We had a MongoDB server (with a read-replica) in our production environment (this was an ec2 instance with MongoDB).
One day, a dev accidentally deleted the main collection in the DB during a night coding session. Next morning, when we realized that, we went straight to the daily backups that we have been doing. It happened that for some reason the backup of the previous 2 or 3 days did not work.
We had to get into Mongo-OpLog (which was on only because of the read-replica) and reconstruct the missing 3 days from it.
That was fucking scary.