NEWS
Backup Grafana
-
Servus
Ich habe ein Problem bei der Wiederherstellung von Grafana mit dem Backup Adapter.
Es kommt der Fehler:cannot restore datasource "InfluxDB": "Invalid username or password"
Nun die Frage: Sind es username or password im InfluxDB Adapter, derBenutzer/Passwort die in Influx über die Konsole eingerichtet wurden oder in Grafana?
07:43:04.906INFOguistarting Restore... 07:43:04.920DEBUGgrafanaStart Grafana Restore ... 07:43:04.962DEBUGgrafanafilename for restore: /opt/iobroker/backups/grafana_2025_06_26-13_41_45_backupiobroker.tar.gz 07:43:04.964DEBUGgrafanaGrafana tmp directory created: /opt/iobroker/backups/grafana_tmp 07:43:04.966DEBUGgrafanastart decompress 07:43:06.013DEBUGgrafanaGrafana request started 07:43:06.033DEBUGgrafanaGrafana is available ... Status: 200 07:43:06.042DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/datasource/InfluxDB.json 07:43:06.140DEBUGgrafanacannot restore datasource "InfluxDB": "Invalid username or password" 07:43:06.213DEBUGgrafanaTry to restore folder: 12 Stunden (6oki6BOVz) 07:43:06.216DEBUGgrafanaTry to restore folder: 1 Jahr (08NGefO4z) 07:43:06.232DEBUGgrafanaTry to restore folder: 24 Stunden (Xd1meBd4k) 07:43:06.253DEBUGgrafanaCannot restore folder "12 Stunden": Unauthorized 07:43:06.256DEBUGgrafanaCannot restore folder "1 Jahr": Unauthorized 07:43:06.274DEBUGgrafanaCannot restore folder "24 Stunden": Unauthorized 07:43:06.281DEBUGgrafanaLoaded dashboard-folder mapping with 11 entries 07:43:06.282DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/1-jahr-benzin-corona.json 07:43:06.283DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/12-stunden-temps-sonnen.json 07:43:06.285DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/7-tage-wasser-strom.json 07:43:06.289DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/aussentemperatur.json 07:43:06.292DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/kuehltheke.json 07:43:06.296DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/heizung.json 07:43:06.299DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/monatsverbrauch.json 07:43:06.303DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/spannungsschwankung-volt.json 07:43:06.306DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/roborock1.json 07:43:06.309DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/uebersichten-stromheizung.json 07:43:06.312DEBUGgrafanaTry to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/wasserverbrauch-heute-detail.json 07:43:06.315DEBUGgrafanacannot restore dashboard "1-jahr-benzin-corona": {"message":"Unauthorized","traceID":""} 07:43:06.323DEBUGgrafanacannot restore dashboard "7-tage-wasser-strom": {"message":"Unauthorized","traceID":""} 07:43:06.346DEBUGgrafanacannot restore dashboard "12-stunden-temps-sonnen": {"message":"Unauthorized","traceID":""} 07:43:06.350DEBUGgrafanacannot restore dashboard "aussentemperatur": {"message":"Unauthorized","traceID":""} 07:43:06.351DEBUGgrafanacannot restore dashboard "monatsverbrauch": {"message":"Unauthorized","traceID":""} 07:43:06.355DEBUGgrafanacannot restore dashboard "wasserverbrauch-heute-detail": {"message":"Unauthorized","traceID":""} 07:43:06.357DEBUGgrafanacannot restore dashboard "roborock1": {"message":"Unauthorized","traceID":""} 07:43:06.362DEBUGgrafanacannot restore dashboard "heizung": {"message":"Unauthorized","traceID":""} 07:43:06.364DEBUGgrafanacannot restore dashboard "kuehltheke": {"message":"Unauthorized","traceID":""} 07:43:06.369DEBUGgrafanacannot restore dashboard "spannungsschwankung-volt": {"message":"Unauthorized","traceID":""} 07:43:06.372DEBUGgrafanacannot restore dashboard "uebersichten-stromheizung": {"message":"Unauthorized","traceID":""} 07:43:06.373DEBUGgrafanaGrafana request ended 07:43:06.432DEBUGgrafanaTry deleting the Grafana tmp directory 07:43:06.436DEBUGgrafanaGrafana tmp directory was successfully deleted 07:43:08.385DEBUGgrafanaGrafana Restore completed successfully
Ist es möglich die Daten direkt in den IoBroker zu kopieren?
Mfg
Tom -
-
Der Fehler ist wohl nicht durch BackItUp bedingt, hier stimmt vermutlich etwas mit den Zugriffsrechten (siehe token!) nicht.
Was man beim Wiederherstellen so alles bedenken musst, habe ich hier einmal aufzuzeigen versucht, wo ich das Protokolls eines Umzugs von einem Pi4 auf Pi5 zusammengestellt habe. Vielleicht hilft dir dies weiter.
-
Das wenn ich gestern gefunden hätte...