Question

some tables in my production database keep getting deleted, please help.

My application is using MongoDB, since January 2017, some of the tables from my production database are getting deleted ever so often. I have to recreate the droplet from the saved image and end up losing production data. Please could you provide me with steps to take to fix this.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@vic0455354ec6a294d8676d7e7

It’d be hard to troubleshoot without knowing more about your setup, specifically:

1). How did you setup your server? Did you use a guide – if so, which one?

2). Have you checked your logs to see if there’s anything causing the loss of data?

3). Was your web server properly secured?

Database Servers generally don’t randomly lose data without reason and #3 is a big one.