The mongodb that I built on the ECS of Aliyun suddenly lost all the collection that I had saved before. Please ask the expert to show me how to find the problem.
1. It is very likely that your database has been hacked. show dbs to see if there is a Warning database. There is a Readme table under this database.
2. How to be hijacked by hackers, this data is basically not found back, don’t pay any bitcoin ransom, pay it for nothing.
3. As a lesson, the database should not listen to ip outside the network, nor use port 27017 by default, and must turn on authentication mode.
4. If your Aliyun server has the function of opening the disk snapshot, you can also retrieve some data by restoring the disk snapshot.