mongoimport Questions

7

Solved

I'm having DB which name is "Project" and collection which name is "sample" then I inserted one JSON file using mongoimport command. Now i edited the same JSON file. So if want to import the same ...
Ruella asked 21/4, 2015 at 14:39

5

Solved

I have many GB of data stored in PostgreSQL database and i need those to be imported into the MongoDB. I did this using CSV export and mongoimport. There are columns like this '2011-06-25' in that...
Perkoff asked 25/6, 2011 at 5:11

20

Solved

I have a JSON file consisting of about 2000 records. Each record which will correspond to a document in the mongo database is formatted as follows: {jobID:"2597401", account:"XXXXX&q...
Kaufman asked 2/3, 2013 at 6:40

5

Solved

I need to import a CSV file to mongoDB unfortunately i'm having below error: error connecting to host: could not connect to server: server selection error: server selection timeout current topol...
Pleione asked 19/12, 2019 at 16:8

13

Solved

i'm trying to import a csv into mongodb on my local machine. I used the following commmand from the shell: mongoimport -d mydb -c things --type csv --file /Users/..../agentsFullOutput.csv --header...
Widower asked 14/4, 2015 at 20:49

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

7

Solved

I just moved to a new laptop which had mongo 3.0.0 I believe. On the new laptop I have mongo 3.0.4. and trying the script that was working on the old laptop is giving me errors. This line is givin...
Brazier asked 20/6, 2015 at 11:45

4

Solved

I have been trying to import the csv data into mongodb using mongoimport. The collection is like this: { id:"122234343", name: "name1", children: ["222334444","333344444"] } One approach I tried...
Leprose asked 19/6, 2017 at 4:43

13

Solved

I am new to mongodb and want to know about importing a json file from one server to another. I tried the following command mongoimport -d test -c bik check.json and it works fine for me. Now i want...
Hackathorn asked 23/7, 2012 at 9:19

4

Solved

Dumped a MongoDB successfully: $ mongodump -h ourhost.com:portnumber -d db_name01 -u username -p I need to import or export it to a testserver and have struggle with it, please help me figure ou...
Espionage asked 9/11, 2011 at 19:16

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

13

I'm trying to import json document using mongoimport command and have tried all possible ways but it's giving be below error. Plz tell me what m I doing wrong here. I've given full path of json doc...
Dodge asked 2/2, 2016 at 12:39

23

Solved

CSV file with contact information: Name,Address,City,State,ZIP Jane Doe,123 Main St,Whereverville,CA,90210 John Doe,555 Broadway Ave,New York,NY,10010 Running this doesn't add documents to the ...
Vanettavang asked 13/1, 2011 at 23:27

2

Solved

I have a mongo document with a structure like: { "foo": { "bar1": "val1", "bar2": "val2"} } I'd like to import my data from a csv using mongoimport --type csv --headerline [...] I am not sure how ...
Lye asked 18/10, 2011 at 15:44

4

Solved

I am using this command mongoimport --db databasename to import a database that I exported using mongoexport. The database has over 100 collections in the mongoimport documentation you need t...
Rochus asked 28/1, 2017 at 20:24

1

Solved

I have installed the recent version of MongoDb version 4.4 but I cannot find the mongoimport.exe file there I have setup the custom path properly so that's not the issue so what seems to be the pro...
Trailer asked 6/8, 2020 at 0:59

6

Solved

Ok so I am trying.... to Importing a dummy JSON file into MongoDB and getting this error, a Google search yields no definitive explanation, and though this topic is already on here, that's more a s...
Broadfaced asked 20/9, 2016 at 1:47

3

Solved

I'm trying to create a simple website that displays a table based on a relatively small json data (>5MB). I plan on importing the json into MongoDB and performing queries using a driver (either Mon...
Salsbury asked 9/7, 2019 at 3:54

1

I'm new to mongoDB and have a free Atlas account. But, I'm having issues with the mongo import. system: windows >mongo --version MongoDB shell version v4.2.0 git version: a4b751dcf51dd249c586...
Fere asked 28/9, 2019 at 21:42

2

Solved

I'm trying to import a large data file in JSON format . I'm using mongoimport --db verbs --collection de --file "/Users/marcelbraasch/Downloads/de.json" to import the data. This is going through,...
Gownsman asked 23/9, 2019 at 15:57

4

Solved

I have a lot of json files in archive and i need to import them into mongo per one operation (i think that it might be in cycle). Have you any ideas about this?
Conveyancing asked 4/3, 2014 at 9:3

3

I have a .tsv file as follows, Name City Mobile Country A Hyd 877777 IN B Ban 78899 IN Now, i don't want all the fields to be stored. I need some specific fields. I want import only Name, City a...
Execrate asked 20/7, 2015 at 10:55

2

I have a data collection, which is separated by | character. I am going to add the data collection to mongodb. So I need to separate data through | character. how my mongoimport command looks like?...
Yahiya asked 25/11, 2013 at 8:25

1

I'm trying to import from CSV into mongodb 3.4 using mongoimport, and I would like for empty columns to be imported as null values for the fields. I was under the impression from the mongoimport d...
Athanasian asked 8/8, 2017 at 17:15

1

Solved

I am new to MongoDB and am trying to import a csv file containing programme data to MongoDB. One of the fields in the csv file (tags) contains a list of values as such: When I import this into m...
Elinoreeliot asked 29/4, 2017 at 18:24

© 2022 - 2024 — McMap. All rights reserved.