I have a WordPress website. I have 27 posts/blogs there. but after some days it reduces itself to 20 and after sometime 15. I have to recover it using backup everytime it happens, it's really annoying.
There are a lot of user registered on my website but their role is set as "subscriber". Only I have the admin access and I also have 2 Step Verification enabled using WordFence plugin. So If someone tries to login then I need to approve that IP.
Or is it a database problem?
It could be caused by some plugin or your theme code. Check your plugins if there is something related to post expiration/pruning and also the
functions.phpfile in your theme directory if there is some cron/schedule/remove filter. It certainly is not caused by the database itself.