Export all dashboards from a database


#1

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

Regards,
Ujjwal


#2

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


#3

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.


#4

@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?