All Collections
FAQs
Is there a way to copy content from one project to another?
Is there a way to copy content from one project to another?

Copy content from a preview project to a production project or from two production projects.

Katie Hindson avatar
Written by Katie Hindson
Updated over a week ago

If you have content in one project that you want to copy over to another, we have a Python script that lets you copy a space from one project to another (using the Lightdash API). This means you could copy, for example, a chart or dashboard from a preview project into a production project in Lightdash.

The script is copying the entire project content but not project configuration, user permissions, attributes, etc.

To use the script, you just need to change the constants at the top of the file and then run:
โ€‹

poetry install 
poetry run python example1_copy_space.py

Did this answer your question?