There is no handy way to import and export your Search Dashboard until Hue 4 and HUE-1660, but here is a manual workaround:
./build/env/bin/hue dumpdata search --indent 2 < data.json
then
./build/env/bin/hue loaddata data.json
And that’s it, the dashboards with the same IDs will be refreshed with the imported ones!
Note:
If using CM, export this variable in order to point to the correct database:
HUE_CONF_DIR=/var/run/cloudera-scm-agent/process/-hue-HUE_SERVER-id echo $HUE_CONF_DIR export HUE_CONF_DIR
Where <id> is the most recent ID in that process directory for hue-HUE_SERVER.
Have any questions? Feel free to contact us on hue-user or @gethue!