Ok I find out what I’m doing wrong :
I was doing
mongorestore --db Gen --drop --dbpath dump/Gen
But without the –dbpath it works just fine!
mongorestore --db Gen --drop dump/Gen
Thanks everyone!
Ok I find out what I’m doing wrong :
I was doing
mongorestore --db Gen --drop --dbpath dump/Gen
But without the –dbpath it works just fine!
mongorestore --db Gen --drop dump/Gen
Thanks everyone!