<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Cosmos DB &#8211; Sibeesh Passion</title>
	<atom:link href="https://sibeeshpassion.com/category/azure/cosmos-db/feed/" rel="self" type="application/rss+xml" />
	<link>https://sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Sun, 09 Mar 2025 10:26:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>Cosmos DB &#8211; Sibeesh Passion</title>
	<link>https://sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Easily move data from one COSMOS DB to another</title>
		<link>https://sibeeshpassion.com/easily-move-data-from-one-cosmos-db-to-another/</link>
					<comments>https://sibeeshpassion.com/easily-move-data-from-one-cosmos-db-to-another/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Sun, 09 Mar 2025 10:26:30 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Cosmos DB]]></category>
		<category><![CDATA[Data Factory]]></category>
		<category><![CDATA[Azure Data Factory Copy Pipeline]]></category>
		<category><![CDATA[Copy data from one Cosmos DB to another]]></category>
		<category><![CDATA[Cosmos DB Data Move]]></category>
		<guid isPermaLink="false">https://sibeeshpassion.com/?p=14648</guid>

					<description><![CDATA[Introduction In this post, let&#8217;s discuss how easily we can move data from one cosmos database to another with the help of Azure data factory. An Azure data factory is a fully managed serverless data integration service, while it provides solutions for many use cases, today I am going to demonstrate to move data without writing a single line of code. Let&#8217;s get to it. Creating Azure data factory There are many ways to create Azure data factory Create Pipeline When you have ceated the Data factory, open that from the Azure portal, click on the Overview blade and click [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Introduction</h2>



<p>In this post, let&#8217;s discuss how easily we can move data from one cosmos database to another with the help of Azure data factory. An <a href="https://azure.microsoft.com/en-us/products/data-factory">Azure data factory</a> is a fully managed serverless data integration service, while it provides solutions for many use cases, today I am going to demonstrate to move data without writing a single line of code. Let&#8217;s get to it.</p>



<h2 class="wp-block-heading">Creating Azure data factory</h2>



<p>There are many ways to create Azure data factory</p>



<ol class="wp-block-list">
<li><a href="https://learn.microsoft.com/en-us/azure/data-factory/quickstart-create-data-factory">Create a data factory by using the Azure portal</a></li>



<li><a href="https://learn.microsoft.com/en-us/azure/data-factory/quickstart-create-data-factory-resource-manager-template">Create an Azure Data Factory using ARM template</a></li>
</ol>



<h2 class="wp-block-heading">Create Pipeline</h2>



<p>When you have ceated the Data factory, open that from the Azure portal, click on the Overview blade and click on the Launch Studio button. </p>



<figure class="wp-block-image size-large"><a href="/wp-content/uploads/2025/03/Launch-Azure-data-studio.jpg"><img fetchpriority="high" decoding="async" width="1024" height="382" src="/wp-content/uploads/2025/03/Launch-Azure-data-studio-1024x382.jpg" alt="" class="wp-image-14653" srcset="/wp-content/uploads/2025/03/Launch-Azure-data-studio-1024x382.jpg 1024w, /wp-content/uploads/2025/03/Launch-Azure-data-studio-300x112.jpg 300w, /wp-content/uploads/2025/03/Launch-Azure-data-studio-768x286.jpg 768w, /wp-content/uploads/2025/03/Launch-Azure-data-studio-1536x573.jpg 1536w, /wp-content/uploads/2025/03/Launch-Azure-data-studio-2048x764.jpg 2048w, /wp-content/uploads/2025/03/Launch-Azure-data-studio-400x149.jpg 400w, /wp-content/uploads/2025/03/Launch-Azure-data-studio-1609x600.jpg 1609w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<p>Cick on the Home page and then click on the Ingest. </p>



<figure class="wp-block-image size-large"><a href="/wp-content/uploads/2025/03/image-12.png"><img decoding="async" width="1024" height="620" src="/wp-content/uploads/2025/03/image-12-1024x620.png" alt="" class="wp-image-14665" srcset="/wp-content/uploads/2025/03/image-12-1024x620.png 1024w, /wp-content/uploads/2025/03/image-12-300x182.png 300w, /wp-content/uploads/2025/03/image-12-768x465.png 768w, /wp-content/uploads/2025/03/image-12-1536x930.png 1536w, /wp-content/uploads/2025/03/image-12-660x400.png 660w, /wp-content/uploads/2025/03/image-12-400x242.png 400w, /wp-content/uploads/2025/03/image-12-991x600.png 991w, /wp-content/uploads/2025/03/image-12.png 1546w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<p>Under Properties, select Built-in copy task. You can select the task cadence otr task schedule as per your requirement. I am selecting &#8220;Run once now&#8221;.</p>



<figure class="wp-block-image size-large"><a href="/wp-content/uploads/2025/03/image-13.png"><img decoding="async" width="1024" height="962" src="/wp-content/uploads/2025/03/image-13-1024x962.png" alt="" class="wp-image-14666" srcset="/wp-content/uploads/2025/03/image-13-1024x962.png 1024w, /wp-content/uploads/2025/03/image-13-300x282.png 300w, /wp-content/uploads/2025/03/image-13-768x722.png 768w, /wp-content/uploads/2025/03/image-13-1536x1444.png 1536w, /wp-content/uploads/2025/03/image-13-400x376.png 400w, /wp-content/uploads/2025/03/image-13-638x600.png 638w, /wp-content/uploads/2025/03/image-13.png 1845w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<h3 class="wp-block-heading">Select Source Dataset</h3>



<p>Under source tab, select your data source, I am selecting Azure CosmosDB for NoSQL. Under connection, +New connection. In the new pane, provide a name for your connection, and provide connection to the source either via a connection string from Azure subcription or Key Vault. </p>



<figure class="wp-block-image size-large"><a href="/wp-content/uploads/2025/03/image-14.png"><img decoding="async" width="882" height="1024" src="/wp-content/uploads/2025/03/image-14-882x1024.png" alt="" class="wp-image-14667" srcset="/wp-content/uploads/2025/03/image-14-882x1024.png 882w, /wp-content/uploads/2025/03/image-14-258x300.png 258w, /wp-content/uploads/2025/03/image-14-768x892.png 768w, /wp-content/uploads/2025/03/image-14-400x465.png 400w, /wp-content/uploads/2025/03/image-14-517x600.png 517w, /wp-content/uploads/2025/03/image-14.png 1003w" sizes="(max-width: 882px) 100vw, 882px" /></a></figure>



<p>The connection will be tested automatically and the tables/containers wil be loaded for you to select those are applicable. I am selecting all the tables and yes to checkbox &#8220;Export as-is to JSON files or Azure Cosmos DB collection&#8221;.</p>



<figure class="wp-block-image size-large"><a href="/wp-content/uploads/2025/03/image-15.png"><img decoding="async" width="861" height="1024" src="/wp-content/uploads/2025/03/image-15-861x1024.png" alt="" class="wp-image-14668" srcset="/wp-content/uploads/2025/03/image-15-861x1024.png 861w, /wp-content/uploads/2025/03/image-15-252x300.png 252w, /wp-content/uploads/2025/03/image-15-768x913.png 768w, /wp-content/uploads/2025/03/image-15-1292x1536.png 1292w, /wp-content/uploads/2025/03/image-15-400x475.png 400w, /wp-content/uploads/2025/03/image-15-505x600.png 505w, /wp-content/uploads/2025/03/image-15.png 1320w" sizes="(max-width: 861px) 100vw, 861px" /></a></figure>



<p>Click next, a filter window will appear, you can also preview your data in this section. </p>



<h3 class="wp-block-heading">Select Destination Data Store</h3>



<p>Under the destination pane, select the Destination type. I am selecting &#8220;Azure Cosmos DB for NoSQL&#8221; as I need to move data from Cosmos DB to another Cosmos DB. Create a connection for the destination by clicking the +New connection and proceed the steps we followed for creating the connection for the source. </p>



<p>Once the connection is validated, you will be able to see the copy activities from Source to Destination. Make sure to select the activities that are required. By default all will be selected. Click Next.</p>



<h4 class="wp-block-heading">Finalizing the task</h4>



<p>In the next step, name your task, if you prefer you can apply &#8220;Data consistency verification&#8221; that will enable logging. Select the advanced settings that are applicable to you. Select Next. You will be provided with the Summary, if everything is right, click Next. </p>



<p>It will create the datasets, creates the pipeline, and run the pipeline. You can Finish, Monitor or Edit your pipeline. </p>



<figure class="wp-block-image size-large"><a href="/wp-content/uploads/2025/03/image-16.png"><img decoding="async" width="1024" height="613" src="/wp-content/uploads/2025/03/image-16-1024x613.png" alt="" class="wp-image-14669" srcset="/wp-content/uploads/2025/03/image-16-1024x613.png 1024w, /wp-content/uploads/2025/03/image-16-300x180.png 300w, /wp-content/uploads/2025/03/image-16-768x460.png 768w, /wp-content/uploads/2025/03/image-16-1536x920.png 1536w, /wp-content/uploads/2025/03/image-16-2048x1226.png 2048w, /wp-content/uploads/2025/03/image-16-400x240.png 400w, /wp-content/uploads/2025/03/image-16-1002x600.png 1002w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<p>If you ever want to see your pipeline again and edit, it will be under the Author pane and under the Pipeline section. </p>



<figure class="wp-block-image size-large"><a href="/wp-content/uploads/2025/03/image-17.png"><img decoding="async" width="1024" height="366" src="/wp-content/uploads/2025/03/image-17-1024x366.png" alt="" class="wp-image-14670" srcset="/wp-content/uploads/2025/03/image-17-1024x366.png 1024w, /wp-content/uploads/2025/03/image-17-300x107.png 300w, /wp-content/uploads/2025/03/image-17-768x275.png 768w, /wp-content/uploads/2025/03/image-17-1536x549.png 1536w, /wp-content/uploads/2025/03/image-17-400x143.png 400w, /wp-content/uploads/2025/03/image-17.png 1574w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<p>For any pipeline, you can enable Auto save by enabling the Git integration. </p>



<figure class="wp-block-image size-large"><a href="/wp-content/uploads/2025/03/image-18.png"><img decoding="async" width="1024" height="1005" src="/wp-content/uploads/2025/03/image-18-1024x1005.png" alt="" class="wp-image-14671" srcset="/wp-content/uploads/2025/03/image-18-1024x1005.png 1024w, /wp-content/uploads/2025/03/image-18-300x295.png 300w, /wp-content/uploads/2025/03/image-18-768x754.png 768w, /wp-content/uploads/2025/03/image-18-400x393.png 400w, /wp-content/uploads/2025/03/image-18-611x600.png 611w, /wp-content/uploads/2025/03/image-18.png 1212w" sizes="(max-width: 1024px) 100vw, 1024px" /></a></figure>



<p><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-cyan-blue-color">Verify that your Azure DevOps account is connected to the Microsoft Entra account, the Azure DevOps repository is in the Default Directory tenant, and that your current ADF user account has been added to the Azure DevOps organization.</mark></p>



<h2 class="wp-block-heading">Conclusion</h2>



<p>In this post we have seen how easily we can move data from one Azure Cosmos DB to another with the help of Azure Data factory and it&#8217;s in-built automation.</p>



<h2 class="wp-block-heading">About the Author</h2>



<p>I am yet another developer who is passionate about writing and sharing knowledge. I have written more than 500 blogs on my&nbsp;<a rel="noreferrer noopener" href="https://sibeeshpassion.com/" target="_blank">blog</a>. If you like this content, consider following me here,</p>



<ul class="wp-block-list">
<li><a href="https://github.com/SibeeshVenu">GitHub</a></li>



<li><a href="https://medium.com/@sibeeshvenu">medium</a></li>



<li><a href="https://twitter.com/sibeeshvenu">Twitter</a></li>
</ul>



<h2 class="wp-block-heading">Your turn. What do you think?</h2>



<p>Thanks a lot for reading. Did I miss anything that you may think is needed in this article? Could you find this post useful? Kindly do not forget to share your feedback.</p>



<p></p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/easily-move-data-from-one-cosmos-db-to-another/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
