Strapi tables getting deleted automatically

System Information
  • Strapi Version: 4.3.0
  • Operating System: ubuntu 22.04
  • Database: postgres on amazon rds
  • Node Version: 14.20.0
  • NPM Version: 6.14.17
  • Yarn Version: 1.22.19

This problem had occurred multiple times for me. Basically the strapi user+admin tables gets deleted automatically out of nowhere. Right now the solution is to take a snapshot of the database and restore from the date where the tables are still intact but it is not a feasible solution all the time.

are you using data transfer?

Also please upgrate your strapi version since the current version you are on has multiple vulnerability’s.