Questions tagged [mongodb2.4]

6 questions
4
votes
4 answers

Getting empty folder when using mongodump to back up my MongoDB

Basically, I have a problem with using mongodump to back up my MongoDB. This is the general syntax I use in SSH: mongodump -d myDatabaseName -o ~/backups/my_backup This is the resulting message: Fri Apr 22 20:39:57.304 DATABASE: myDatabaseName to…
2
votes
2 answers

Why mongodb never ends some connections

My mongod runs out of connections from time to time. But when I restart the instance, it becomes normal. I checked the log and found some connections were created and never ended. This causes the connections to deplete quickly. My mongo cluster…
Sisyphus
  • 121
  • 1
  • 3
1
vote
1 answer

Import indexes from MongoDB v2.4 to MonDB v3.6.4

I have migrated the collection.bson file from MongoDB 2.4 to MongoDB 3.6.4 as collection.json. But their is 1 more file collection.metadata.json in MongoDB 2.4. How can I import this to MongoDB 3.6.4? content of collection.metadata.json is as…
Ankur Soni
  • 111
  • 3
1
vote
3 answers

Failed to import a mongodb database with duplicate fields

I'm trying to import a mongodb database and I've been using the mongorestore command, the import starts without problems until it gives the error: Failed: dbprod.mys_account: error creating collection dbprod.mys_account: error running create…
0
votes
0 answers

Migrate MongoDB 2.4.14 to MongoDB 3.6

I have a database with MongoDB 2.4.14 and I want to migrate the database to MongoDB 3.6. Note: the file is original from the db path. Not from mongodump. This process is messy as it requires doing so on many of our clients. Any advice will be…
Nemesis
  • 9
  • 2
0
votes
1 answer

mongodb 2.4.1 instance shutdown without log

I am running mongodb in a replica set of 3 nodes (no sharding). But since 5 days the secondary instance shuts down intermittently, once in 2 days. Log does not indicate any event related to shutdown, but shows error related to secondary running TTL…
Sachin DG
  • 1
  • 2