How to duplicate a container in COSMOS DB with mongo API

MikeZheng-3371 46 Reputation points
2022-05-19T13:10:26.45+00:00

What is the easiest way to duplication a container including data in COSMOS DB with mongo API?

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,449 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. GeethaThatipatri-MSFT 27,717 Reputation points Microsoft Employee
    2022-05-19T15:06:07.437+00:00

    Hi, @MikeZheng-3371 Welcome to Microsoft Q&A, Thanks for posting your query.
    What are the number of collections and avg size of collections?
    I would recommend if the collection sizes are small - in double-digit Gbs, better to simply use mongodump/mongorestore else go with ADF or Spark.
    you can find this document for more information.

    Please let me know if the information is helpful.

    Regards
    Geetha

    1 person found this answer helpful.