Answers for "Copy mongo database post mongo version 4.2"

0

Copy mongo database post mongo version 4.2

mongodump --archive --db=source-db | mongorestore --archive  --nsFrom='source-db.*' --nsTo='destination-db.*'
Posted by: Guest on June-07-2021

Browse Popular Code Answers by Language