Questions tagged [mongodb-atlas]
26 questions
18
votes
3 answers
How to restore .wt backup file to local MongoDB?
This is a question that was asked before, but I have tried all solutions, and simply cannot get it right. I have spent quite some time researching before posting this question. I have looked at the official MongoDB documents and many other…
Saketh
- 323
- 1
- 3
- 5
7
votes
2 answers
How to add userAdmin user in Mongodb Atlas
How to add a user with userAdmin role in Atlas?
The Cluster Security "Add New User" UI https://cloud.mongodb.com/v2/.....#clusters/security/users shows only limited set of built-in roles without any option to enter role name manually:
So I am a bit…
Alex Blex
- 240
- 2
- 9
6
votes
1 answer
"Replication Oplog Window has gone below 1 hours"
I'm working with MongoDB Atlas and I have a 3 node M30 cluster with 100GB of storage.
My current use case is the following:
A user dispatches one search in my platform
The platform dispatches this search to other providers (12)
I get like 2k…
Tzn
- 103
- 1
- 1
- 7
4
votes
1 answer
How to copy wt files from another mongo instance?
I received a copy of mongo dbpath directory copy from a peer. I copied entire content to my local dbpath with an intention to work on the collections. However, my local is not recognizing the databases or the collections. Am I missing anything?
Saketh
- 323
- 1
- 3
- 5
3
votes
1 answer
Not authorized on admin to execute command mongoDB: Atlas M0 Free Tier cluster
My MongoDB shell has version v3.6.5 (the same with older versions) & MongoDB server has version: 3.6.8
I have MongoDB M0 Free Tier cluster and I want to use from shell different commands.
So, I created admin user with password:
Set up IP…
invzbl3
- 277
- 1
- 4
- 10
2
votes
0 answers
MongoDB - 100% CPU - recovering shard (after killing updates)
Can a recovering shard (as shown below) drive CPU to 100% for hours and hours?
I have killed all the queries and updates (based on db.currentOp()) and stopped the flow of new data, but the CPU stays at 100%.
I can run little queries, but deleting…
NealWalters
- 577
- 1
- 9
- 19
2
votes
3 answers
How can you view the IP addresses of active MongoDB Atlas connections?
Some posts show you can use db.currentOp(true) to show active connections, but when I do that I get this error
{
"ok" : 0,
"errmsg" : "Using $all for currentOp is disallowed in this atlas tier",
"code" : 8000,
…
A_toaster
- 145
- 1
- 1
- 5
1
vote
0 answers
Alert set up for TLS/SSL certificate expiration
I am looking for help with setting up alert for MongoDB Atlas cluster. Recently we saw an issue where one of clusters running on Mongo Atlas had expiration on the certs and there was an outage for the same.
Looking for help if there is a way to…
Amar
- 111
- 2
1
vote
1 answer
How do you create an atlas user in a non-admin db?
There doesn't seem to be an option in mongo atlas UI to create a user in any database other than admin.
Sudh33ra
- 111
- 2
1
vote
2 answers
how to run mongo export on macbook?
I am using mongodb Atlas (M0), which does not provide db backup feature. I am creating a nodejs script that will export all the collections automatically periodically.
So far I have done the following:
created a programmatic api from my…
Jasmohan Singh
- 21
- 1
- 4
1
vote
0 answers
How to reclaim disk space on a MongoDB Atlas replica set?
I migrated a replica set from mLab to MongoDB Atlas.
mLab offered an automated process to reclaim disk space after dropping large amounts of documents from a collection. Compacting (or resyncing) basically happened with the click of a button with a…
Manuel
- 121
- 3
1
vote
1 answer
Migrating from MongoDB Atlas to self managed Mongo (EC2) server
There is an abundance of info about migrating TO Atlas but not too much I could find specifically about going the other direction.
I am migrating a collection which is 250GB in size.
I have tried using mongodump from the remote EC2 server…
ronnz
- 9
- 4
1
vote
1 answer
My MongoDB Atlas Operations graph has doubled in the last few hours. How do I go about debugging this?
I noticed this graph in my MongoDB Atlas dashboard:
I'm not sure what is causing the increased Disk IOPS and Operations counts... Can I use the oplog to figure out what is causing this massive increase in operations?
A_toaster
- 145
- 1
- 1
- 5
1
vote
1 answer
How to monitor Mongo databases and Cloud servers?
We have mongo databases installed in AWS and Azure based servers. We need to monitor the Mongo databases and Cloud servers on daily basis. Is there any way to healthcheck the databases and servers ?
Thanks,
Mr Surya
- 11
- 1
1
vote
1 answer
Mongo Atlas API - Get Databases and Collections in a Cluster
So with Mongo Atlas I can easily list clusters in a project by calling the API as follows:
curl -i -u ":" --digest "https://cloud.mongodb.com/api/atlas/v1.0/groups//clusters"
I want to list all database (and if…
Molenpad
- 1,814
- 2
- 23
- 41