0

While copying collections from one MongoDB server hosted on A to another MongoDB server hosted on B using Copy collection to another database tool of NOSQL Manager we got an error "Command create failed collection already exists code :48"

The option we specified in NOSQL Manager for copy collections is Replace existing collections.

https://www.mongodbmanager.com/clone-mongodb-collection#copy

1 Answer 1

0

Please make sure you have dropCollection privilege on the destination database.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.