Export all dashboards from a database


Hi ,
I have a DB with 64 dashboards , is there a way to export all in one command.



I don’t know, but you can generate a sql script to export all your dashboards connecting to mapd catalog with sqlite.


Hi Ujjwal,

Two ways come to mind immediately apart from the SQLite approach - you could chain together several \export_dashboard commands using mapdql, or you could use pymapd with the list_dashboards and get_dashboard functions.


@ujjwal009 just to be clear… are you trying to export so you can copy them to another instance? Or are you trying to export them individually as files so you can share them?