Azure CosmosDB Data Migration Tool - Source as Azure Blob Storage

Taranjeet Malik 571 Reputation points
2024-02-26T03:57:44.24+00:00

Hi I'm using the Azure CosmosDB Data Migration Tool to import a JSON file from Azure Blob Storage (source) into a CosmosDB collection/container. I'm trying to figure out what value is expected by the BLOB Name Regular Expression field in the below screenshot: CosmosDB Migration Tool - Blob Name Regular Expresison Can you please clarify / provide a relevant documentation that explains it. Thanks Taranjeet Singh

Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,901 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SSingh-MSFT 16,371 Reputation points Moderator
    2024-03-04T05:51:53.9966667+00:00

    Hi Taranjeet Malik •,

    Did you try below:

    The recommended approach currently is to use Cosmos DB Spark Connector. This sample leverages change feed, bulk support, and structured streaming to read all historical data from beginning along with “deltas”:

     https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/cosmos/azure-cosmos-spark_3_2-12/Samples/DatabricksLiveContainerMigration

    Thanks

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.