Mongo DB Collections are gone

Hi, My Collections are not appearing in the dashboard, they were working fine when i first connected them using local host. After a few days i get an email saying mongo db will suspend the connection if not connected to a cluster, The point is, i was conencted to a cluster from a local host. And now, looking at it, all the data is gone. is there a particular reason why this has happened?

Where is your mongodb hosted?
How did you connect before like connect string etc
When you say dashboard are you referring to Atlas?
Can you show screenshots from when it was working/showing collections

1 Like

Hi @YARABABUGARI_JAVEED - Welcome to the community :wave:

In addition to the information requested by Ramachandra, could you provide the content of the email received? Please redact any personal or sensitive information before sending it here.

Since you advised it was an email that was sent from MongoDB, I assumed that this particular instance is hosted on Atlas but please correct me if i’m wrong here. It would also be useful to know the cluster tier if the deployment in question is hosted on Atlas. So please provide this information as well.

In saying so, the automatic pause of clusters is generally related to M0 (free tier) clusters on Atlas. In that case, I would like to note the following:

Atlas automatically stops collecting monitoring information for an M0 cluster after a few days of inactivity.
If there is no activity for 60 days, then Atlas automatically pauses the cluster completely, disallowing any connections to it until you resume the cluster. Atlas sends an email seven days before pausing the cluster. Atlas sends another email after pausing the cluster.
You can resume or terminate an automatically paused cluster at any time. You can’t initiate a pause for M0 clusters.

If you have multiple cluster(s), project(s) or organisation(s) - I would also recommend checking each to confirm the data does not exist elsewhere.


1 Like

My collections in MongoDB Atlas also disappear in the same way. Could you help me to recover them? many thanks.

Here I found they are gone.

Hi @A_MO - Thank for providing those screenshots.

Please contact the Atlas support team via the in-app chat to investigate any operational issues related to your Atlas account such as the one you’ve noted here. You can additionally raise a support case if you have a support subscription. The community forums are for public discussion and we cannot help with service or account enquiries.

In saying so, it does appear the cluster is being resumed based off the screenshot although it may be another deployment change. If it is still being resumed, perhaps you can try checking once the resume has fully completed.

Best Regards,
Jason Tran

1 Like

Thank you for your reply. I failed to notice it is working on the resume. But usually, how long does the resume take?

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.