How to backup all dashboards?

Hello everybody,
is it possible to backup all dashboards or estract automatically the json from an API?

I erroneously deleted all dashboards without the backup and I would like to avoid it again.

Thanks in advance

Grafana version and operating system: grafana OSS 8.1.1 + Ubuntu Server 18.04

hi @vm84grafana :wave:

Wizzy seems to be a popular tool as seen in other posts in the community [1] [2]

What backend are you using ? sqlite? mysql? postgres

Azure Data Explorer mainly

grafana can save it’s data in sqlite or mysql or postgres. which one does your grafana use as backend. I am not asking what data you are visualizing

I haven’t configured any backend database. how can i do?

It is done for you by default to sqlite db file. Look under the data folder under root grafana folder