Grafana API to export grafana configuration

Is there any API endpoint for exporting Grafana configuration file ?

grafana.ini

I want to export it from a running Grana instance and then start a new Grafana instance in a container and pass it as a environment variable when I start the container.

GF_PATHS_CONFIG=/etc/grafana/grafana.ini

Thx

Hi @dejanu

Are you running self-hosted Grafana or Grafana cloud? If you are running your own instance, are there not other ways to retrieve that file and then pass it into a container?

Hi @mattabrams, self-hosted. Thx

could you perhaps scp the file instead?