How can I migrate data bricks from one subscription to another subscription during cross subscription migration ?

Maaz Ahmed Nagori 0 Reputation points
2024-06-19T19:20:06.0166667+00:00

I am unable to move data brick from the source subscription to the destination subscription during cross-subscription migration

Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,211 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 90,146 Reputation points Microsoft Employee
    2024-06-20T05:42:31.93+00:00

    @Maaz Ahmed Nagori - Thanks for the question and using MS Q&A platform.

    Unfortunately, you cannot move Azure Databricks clusters/workspaces to another subscriptions. User's image

    For more details, refer to Azure: Move operation support for resources.

    **What are the options available to migrate Azure Databricks from one subscription to another subscription?

    Option1:** Databricks Migration Tool: This is a migration package to log all Databricks resources for backup and/or migrating to another Databricks workspace. Migration allows a Databricks organization to move resources between Databricks Workspaces, to move between different cloud providers, or to move to different regions / accounts.

    Option2: To migrate Azure Databricks from one subscription to another subscription during cross-subscription migration, you can follow the below steps:

    First, you need to create a new Azure Databricks workspace in the destination subscription.

    Then, you need to export the metadata of the Azure Databricks workspace from the source subscription using the Databricks CLI. You can use the following command to export the metadata:

    databricks workspace export_dir /path/to/export/dir
    
    

    This command will export the metadata of the Azure Databricks workspace to the specified directory.

    After exporting the metadata, you need to import it into the new Azure Databricks workspace in the destination subscription using the Databricks CLI. You can use the following command to import the metadata:

    databricks workspace import_dir /path/to/export/dir
    
    

    This command will import the metadata into the new Azure Databricks workspace in the destination subscription.

    Finally, you need to migrate the data from the source subscription to the destination subscription. You can use Azure Data Factory or any other data migration tool to migrate the data.

    For more details, refer to Regional disaster recovery for Azure Databricks clusters.

    If you are still facing issues while moving Azure Databricks from the source subscription to the destination subscription, please provide more information about the error message you are receiving, so that I can assist you better.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    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.