Data Migrations
Explore how to migrate data into and out of Azure Cosmos DB using various methods, including the Data Migration tool, intra-account copy, Azure Data Factory, Spark connector, and custom solutions. Understand practical configurations and options for handling large datasets and maintaining data integrity during migration.
We'll cover the following...
Introduction
A typical scenario when working with databases is data migrations. We might want to import data in Cosmos DB or export it from it. While a custom solution is always possible, some existing tools might help.
Data migration tool
The first option is to use the Azure Cosmos DB Data Migration tool. It’s an extensible multi-platform .NET 6 application available in the official GitHub repository.
The tool works by providing a source and sink from the following extensions:
Cosmos DB NoSQL API
Cosmos DB Mongo API ...