Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoDB data loss #289

Open
flitzcore opened this issue Feb 22, 2024 · 5 comments
Open

MongoDB data loss #289

flitzcore opened this issue Feb 22, 2024 · 5 comments

Comments

@flitzcore
Copy link

I'm using MongoDb Atlas M0 Cluster for this project. It begin when I add a few user and do some testing. I add a few users. but I notice that I'm losing the users. Somehow the MongoDb data got reset. It left me with user collection but no user inside.
Anyone have the same issue? Or anyone know why this happen?

@waybacktolove
Copy link

yes, this problem is affect to me. i losed mongodb data in all docs

@waybacktolove
Copy link

have you find the way to resolve this problem?

@flitzcore
Copy link
Author

unfortunately no. I don't even know what caused it. I can't even replicate the error. All I can do is setup periodic backup

@waybacktolove
Copy link

Thank you for your response! I am wondering if the data loss might be caused by running MongoDB in Docker. Have you ever tried running MongoDB directly on a server? If so, was it feasible? Also, for your scheduled backup tasks, what would be a good interval for execution?

@flitzcore
Copy link
Author

I run it in server all this time and still got data loss. I think its because this template use old version of mongodb. I run the backup once every 30 min because my app doesn't have critical data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants