cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Generative AI
Explore discussions on generative artificial intelligence techniques and applications within the Databricks Community. Share ideas, challenges, and breakthroughs in this cutting-edge field.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Export/Share Genie Space Across DEV, QA, and PROD Environments

Phani1
Valued Contributor II

Hi Team,

What is the procedure for exporting a Genie space across multiple workspace environments such as DEV, QA, and PROD?

Can you provide any details around this. 

Thanks ,

Phani

2 REPLIES 2

Pilsner
Contributor III

Hello @Phani1 

For exporting a Genie Space, it's recommended to clone your existing space and then use the CLI to help transfer it across. 
https://docs.databricks.com/api/workspace/workspace/export


If your aim is to easily pass the genie space between different environments withing the same workspace, I believe Asset Bundles are actually the recommended route. Within the Asset Bundle (.yaml file), the Genie space should be explicitly referenced via its workspace path. The benefit to this method verses exporting the Genie Space is that all dependencies should also be referenced, meaning it can be seamlessly deployed in your different environments.
https://docs.databricks.com/aws/en/dev-tools/bundles
 
As a final comment, it is worth noting that swapping the Genie space between environments should allow all instructions and settings to persist; however, the chat history will be wiped each time. 

I hope this helps answer your question.

Regards - Pilsner

spoltier
New Contributor III

@Pilsner When I try to export, I get Error: dataRoom is not user-facing. Trying to download in the workspace browser results in a 400 Bad Request.

The bundle documentation for AWS and Azure does not mention genie spaces as existing resources.
See the related open github issue.