mongodump Questions
6
Solved
Tried taking dump from a remote node and got the following error:
Failed: can't create session: could not connect to server:
connection(): auth error: sasl conversation error: unable to
authentica...
3
Solved
I receive the following error when running mongorestore command with a large MongoDB database.
the machine where the backup was done:
db version v4.2.0
git version: a4b751dcf51dd249c5865812b390cf...
Footling asked 7/1, 2020 at 16:44
4
I'm following this tutorial to backup and restore a single MongoDB database.
The backup command -
sudo mongodump --db newdb --out /var/backups/mongobackups/`date +"%m-%d-%y"`
The restore comma...
Rutharuthann asked 17/1, 2017 at 18:12
5
I am using a mongo db server version MongoDB shell version v4.0.16 installed on a EC2 instance.
I am able to get into the instance using mongo command
mongo mongodb+srv://dxxxxxxx:xxxxxx[][]@clus...
3
I have created a dump in an archive file by the following command :
mongodump --archive=newcollection.1.archive --db neel --collection newcollection
While restoring with the mongorestore i am ge...
Hildegardhildegarde asked 13/1, 2017 at 7:24
6
I am a newbie to mongodb. I am trying to take a backup of my database using mongodump. But whenever I use this command I get the below error
Referenceerror: mongodump is not defined
I tried cr...
Murphree asked 19/1, 2016 at 11:42
4
Solved
I want to export very large collections and import them into another database in another server. I found there are at least two ways: mongoexport and mongodump.
I searched previous posts abou...
Median asked 3/9, 2020 at 8:37
6
How can I use mongodump to move a single collection from one database to another?
How should I use the command and its options?
4
Solved
I want to import dump data from my .gz file.
Location of file is home/Alex/Documents/Abc/dump.gz and the name of db is "Alex".
I have tried mongorestore --gzip --db "Alex" /home/Alex/Documents/Ab...
Confrere asked 31/10, 2018 at 7:43
3
Hi feel like this question has an easy answer but I just can't see it.
I am using the command
Mongodump --db <name>
and i get
'mongodump' is not recognized as an internal or external comman...
4
Solved
I'd like to specify the directory to which mongodump dumps, via a switch on the mongodump command. Is this possible?
2
From the research I have done, mongodump doesn't have a built-in check to verify the integrity of a mongodump operation; at least, nothing apparent to the user. I may be wrong. If I am, please info...
Pledge asked 22/4, 2014 at 15:18
2
Solved
Is there a way to get the size of all the documents that meets a certain query in the MongoDB shell?
I'm creating a tool that will use mongodump (see here) with the query option to dump specific da...
Cyprus asked 17/11, 2015 at 21:35
3
Solved
Currently, I have an older version of mongo, i.e 2.6 running on my system. I already have my site in production and have a lot of client data. I am planning an upgrade to mongo 3.2.
So, my questio...
Enfeoff asked 15/6, 2016 at 11:2
5
Solved
I get the following error (dump MongoDB 3.2) (restore MongoDB 3.4):
Failed: ngivr-dev.ledgerhelpers: error creating indexes for ngivr-dev.ledgerhelpers: **createIndex error:** **The field 'safe' i...
Sublett asked 8/12, 2016 at 9:54
5
I run a MongoDB replica set in a containerization environment orchestrated by Rancher.
After rolling out the latest update, MongoDB as been upgraded from 3.6.x to 4.0.x (latest).
No upgrade path h...
Montoya asked 12/1, 2020 at 22:23
1
Solved
Yesterday I reinstalled Windows 10 on my PC and downloaded and installed the current version of MongoDB Enterprise from the MongoDB website. After installing MongoDB, it works fine. But the mongodu...
Splendent asked 2/4, 2021 at 11:17
4
I have a mongodb instance with a lot of data, now I need to start up a new instance with the same structure without data.
how to get it done?
2
Solved
If i want to do a generic backup for all databases in mongodb, is it that all i have to do is:
$ mongodump
And if i want to restore the latest dump i've created, all i need to do is:
$ mongores...
Earthward asked 30/1, 2013 at 4:57
2
Solved
okay so we we have the mongodump tool, it has --password option. Everything works great except this plain password is visible in ps output to everybody.
our database has plain user/password authen...
14
When I create backup of all databases in MongoDB (version 3):
mongodump --username bacUser --password 12345
It's OK. But when I try to create backup of a selected db:
mongodump --username bacUs...
Drama asked 13/8, 2015 at 15:59
1
Solved
I tried to restore mongo backup files from atlas.
It's containing some wt files. How to restore.
Backup downloaded from Daily Snapshots from atlas.
Thanks in advance.
Guipure asked 17/4, 2020 at 5:56
6
Solved
I have used mongodump to dump my database of mongodb, it created some bson files under dump/mydb
But I don't know how to use them. I tried mongoimport, but seems it can't import bson data. Then ho...
Hughhughes asked 31/3, 2011 at 5:4
2
Getting mongodump and mongorestore work with security quite troublesome.
I have mongod v3.4.1 with requireSSL running at 192.168.99.100. It is IP address of VirtualBox docker machine running on my...
6
We are trying to do a simple MongoDump on a relatively small DB.
our steps are simple:
export
drop exisiting DB from target machine
import on target machine
The MongoDump executes perfectly.
...
Mesothorax asked 23/11, 2015 at 9:18
1 Next >
© 2022 - 2024 — McMap. All rights reserved.