> didn't they delete their production database by mistake recently
That was in February 2017 [0]. Not exactly recently IMO.
I recall that Github also had data loss and scaling issues back when they were starting up. Those days are now gone for them though.
[0] - https://about.gitlab.com/2017/02/01/gitlab-dot-com-database-...