Hi guys, Im exploring DataHub and Im just curious ...
# getting-started
s
Hi guys, Im exploring DataHub and Im just curious if we can export and import metadata from one Datahub to another Datahub instance ?
b
generally you can use sql dump to export from 1 datahub rdbms to another instance's rdbms. This will transfer most of the metadata stored in datahub. Then you can reindex ES with the RDBMS data. but there are some indices in ES that you need to export as well (which there is no easy way to transfer) without exporting ES data, you will lose some stuff like usage index (the data about users visiting datahub), and dataset profiles
there is no easy way to export ES data (I dunno if cloud managed ES has any solutions)
g
If you’re using the docker quickstart, you can use
datahub docker quickstart --backup
and
--restore
For rebuilding ES data, you should be able to use the “restore indices” scripts