There are two methods for moving dashboards from one Looker instance to another:
-
This method involves converting a user-defined dashboard (UDD) to a LookML dashboard, and then migrating the dashboard to a new instance by using a Git repository. This method is supported by Looker.
-
This method involves using an open-source command line tool to migrate a UDD to a new instance. This method is not supported by Looker.
Using a Git repository to migrate dashboards
If you have multiple Looker instances in your development lifecycle, you may want to move dashboards across those instances. To do this, save your dashboards as LookML dashboards and migrate them by using your Git repository. The process is as follows:
- If your dashboard is not already a LookML dashboard, create a LookML copy of your user-defined dashboard.
- Deploy your data model to production on the first instance, and follow your chosen process for deploying that model to the next instance in your deployment lifecycle. (The Git Workflow Using One Repository Across Multiple Instances — Development, Staging, and Production Community post describes one option for setting that up.)
- On your second instance, you will see your dashboard saved in the LookML dashboards folder.
- Optionally, you can convert the LookML dashboard back to a user-defined dashboard on the second instance.
Using Gazer to migrate dashboards
You can also use Gazer to migrate dashboards between Looker instances. To use Gazer, see the Gazer Readme on GitHub.
Troubleshooting unsupported layout errors for Gazer
If you encounter an error regarding unsupported dashboard layouts while using Gazer, you can resolve the error by taking the following actions:
Update Gazer: Earlier versions of Gazer may return an
Unsupported Layouterror when you attempt to import dashboards with tabs. Confirm that you're using the latest version of Gazer to include the fix for supporting the "New Layout" structure.Verify data models: Confirm that all of the underlying LookML models are fully deployed on the target instance before importing a dashboard. Inconsistencies in model availability can cause dashboard import failures.
Manually update the dashboard: If an automated import fails, you can follow the steps outlined in the first section on this page, convert the dashboard from a LookML dashboard to a UDD, and then manually update the tab settings and values as described on the Troubleshooting unsupported layout errors for dashboards Best Practices page.
Learn more about adding tabs to dashboards.