Windows 11 API Token

Hello,

This is a test under Windows 11. I want to transfer the Grafana backup file from ioBroker (Raspberry Pi, Bookworm) to a new installation (Windows 11).
I need a token for restoration in ioBroker Backitup.

How can I create one?

This issue is resolved.

Data is displayed in Grafana, except for library panels.

“Unable to load library panel:…”

It’s possible to export dashboards with library panels from an old Grafana installation and import them (using JSON) into the new Grafana. While the previously used plugins can be installed in the new system, they won’t actually be used.

My main problem is that I haven’t understood the relationships between the various tokens for ioBroker, InfluxDB, and Grafana.

The token principle in ioBroker, InfluxDB, and Grafana is based on Grafana (and ioBroker adapters) authenticating with an API token to the InfluxDB database in order to write (ioBroker) or read (Grafana) data. This token is created in the InfluxDB interface (in buckets/API tokens), receives read/write permissions for specific buckets, and is then stored in the ioBroker adapter (e.g., InfluxDB adapter) as well as in the data source in Grafana, often in the format Token <YourToken> for the header.

That sounds logical. Now I just have to put it into practice.

To transfer library panels, you need to unlink the library panel (at least in one dashboard). With an export of the dashboard, you get the panel configuration also. After importing the dashboard to your grafana, you can save it as a library panel again.

Using the new library panels could be difficult, as they are referenced with their uid and the uid is unique in every system. So it might needed, to insert the library panel manually.

We solved the issue, by using terraform for defining everything (dashboards, datasources and library panels). In Terraform you can provide a unique id for every element, so referencing is much easier and it’s consitant in every installation (we have a 3-staged evironment).