Open emehmet opened 1 year ago
If your db origin and destination names are different, you can to restore manually with:
mongorestore --uri="mongodb+srv://xxx:xxx/destination_db_name" --drop --archive="./your_file.archive" --nsFrom="origin_db_name.*" --nsInclude="origin_db_name.*" --nsTo="destination_db_name.*"
We will improve this in mingo and make it possible to control all the details.
Hello,
I dumped my db correctly to an archive file. But I couldn't restore my backup correctly. I got this error ;
Mongodb 6.0.5 Mingo 1.13.0 Windows 10