cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Governance
Join discussions on data governance practices, compliance, and security within the Databricks Community. Exchange strategies and insights to ensure data integrity and regulatory compliance.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Clarification on databricks-labs-ucx sync-workspace-info Command for Syncing Workspaces

jv_v
Contributor

I am currently working on syncing workspaces in Databricks Accounts console, and I came across the command databricks-labs-ucx sync-workspace-info. I am wondering if this command is suitable for both UCX (Unity Catalog) assessments and other non-UCX jobs and other customizes scripts.

Specifically, I would like to confirm:

  1. Will this command effectively sync all necessary workspace information for both UCX assessments and other non-UCX jobs?
  2. Are there any prerequisites or additional steps I need to be aware of before using this command?
  3. Are there any specific configurations or parameters that need to be set for it to function correctly in different scenarios (UCX and non-UCX also customized scripts)?

Thank you in advance for your help!

1 REPLY 1

holly
Databricks Employee
Databricks Employee

Hi there, you can use UCX sync to get an inventory of everything in your workspaces and track it as you upgrade to avoid cross workspace duplication where there's not a 1:1 mapping. It's designed for Unity Catalog upgrades, so whilst it's battle tested for old workspaces moving to UC ones, you may find it lacks coverage for those already with UC installed. 

What it won't do is make changes to a workspaces based on config for a separate workspace, ie workspace A has logging enabled, so workspace B should 'sync' to it. The 'sync' is between the workspace and the UCX state (think of it like a terraform state).

I would advise severe caution with using UCX for any purpose it's not intended for. It has the potential to make one way changes to workspaces that are impossible to roll back. 

I'm not sure what project you're doing, but using terraform might be a more lightweight, easy to maintain, way to enable consistency between workspaces. If you want to use UCX as inspiration, that's fine, but as-is it's probably not going to do everything you need, and could lead you susceptible to some nasty surprises. 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group