NEWS
Fehler Backitup Grafana
-
@simatec Jo, das hab ich hier irgendwo gelesen mit dem Ändern auf debug-state. Ich hab aber keine Ahnung, wo die log ist, dummerweise.
Edit: Das hier?
backitup.0 2025-05-23 22:33:30.863 error [iobroker/grafana] cannot found Grafana Backup files
Edit2:
backitup.0 2025-05-23 22:33:32.824 warn [iobroker/clean] No older backup files are deleted, because this backup was started manually backitup.0 2025-05-23 22:33:30.863 error [iobroker/grafana] cannot found Grafana Backup files backitup.0 2025-05-23 22:32:53.086 warn [iobroker/clean] No older backup files are deleted, because this backup was started manually backitup.0 2025-05-23 22:32:50.989 error [iobroker/grafana] cannot found Grafana Backup files backitup.0 2025-05-23 22:27:49.895 warn [iobroker/clean] No older backup files are deleted, because this backup was started manually backitup.0 2025-05-23 22:27:47.936 error [iobroker/grafana] cannot found Grafana Backup files host.flowbox 2025-05-23 22:27:27.556 warn instance system.adapter.backitup.0 already running with pid 135751 backitup.0 2025-05-23 22:27:05.581 warn [iobroker/clean] No older backup files are deleted, because this backup was started manually backitup.0 2025-05-23 22:27:03.612 error [iobroker/grafana] cannot found Grafana Backup files
-
@minkhx Bitte den kompletten Log vom Backup posten
-
@simatec Ja, klar, nicht das Protokoll, sondern den output...
mit Haken bei ioB, influx und Grafana.22:45:23.952 INFO gui Backup gestartet ... 22:45:30.750 DEBUG iobroker host.flowbox 193 objects saved 22:45:30.828 DEBUG iobroker host.flowbox 141 states saved 22:45:30.846 DEBUG iobroker host.flowbox "config.json" is valid 22:45:30.881 DEBUG iobroker host.flowbox "objects.jsonl" exists host.flowbox "states.jsonl" exists 22:45:31.767 DEBUG iobroker host.flowbox JSONL lines are valid 22:45:31.777 DEBUG iobroker host.flowbox The backup is valid! 22:45:33.948 DEBUG iobroker Backup created: /opt/iobroker/backups/iobroker_2025_05_23-22_45_24_backupiobroker.tar.gz 22:45:33.993 DEBUG iobroker This backup can only be restored with js-controller version 7.0 or higher 22:45:34.986 DEBUG iobroker done 22:45:35.147 DEBUG influxDB InfluxDB-Backup started ... 22:45:35.194 DEBUG influxDB Start InfluxDB Backup ... 22:45:35.205 DEBUG influxDB InfluxDB Backup tmp directory created 22:45:35.222 DEBUG influxDB Backup created: /opt/iobroker/backups/influxDB_2025_05_23-22_45_35_backupiobroker.tar.gz 22:45:35.235 DEBUG influxDB InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2025_05_23-22_45_35_backupiobroker" successfully deleted 22:45:35.271 DEBUG influxDB InfluxDB-Backup for is finish 22:45:35.282 DEBUG influxDB done 22:45:36.486 DEBUG grafana Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp" 22:45:36.502 DEBUG grafana Created dashboard directory 22:45:36.518 DEBUG grafana Created folder directory 22:45:36.521 DEBUG grafana Created dashboards_manually_restore directory 22:45:36.565 DEBUG grafana Created datasource directory 22:45:36.580 DEBUG grafana Grafana is available ... Status: 200 22:45:37.086 DEBUG grafana Saved dashboard-folder mapping 22:45:37.257 DEBUG grafana start Grafana backup compress ... 22:45:37.275 DEBUG grafana Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp" 22:45:37.290 DEBUG grafana Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted 22:45:37.330 ERROR grafana cannot found Grafana Backup files 22:45:37.339 DEBUG grafana done 22:45:39.238 WARN clean No older backup files are deleted, because this backup was started manually 22:45:39.277 DEBUG clean done 22:45:39.402 DEBUG historyHTML new history html values created 22:45:39.495 DEBUG historyHTML done 22:45:39.660 DEBUG historyJSON new history json values created 22:45:39.705 DEBUG historyJSON done 22:45:42.176 DEBUG notification done 22:45:42.333 INFO gui Das Backup wurde erfolgreich erstellt!
EDIT:
Z109-113 - Wenn der das immer deleted, kanner ja auch nix finden, oder? Vllt. ist das gar nicht so schlimm? -
@minkhx Wie sieht denn das Grafana Backup aus? Ist da was drin? Zeige mal den Log, wo es funktioniert hat. In dem Log steht ja nix zur Sicherung von Dashboards
-
@simatec Also das ist der log jetzt nur mit ioB-Haken:
22:51:11.771 INFO gui Backup gestartet ... 22:51:19.916 DEBUG iobroker host.flowbox 193 objects saved 22:51:20.040 DEBUG iobroker host.flowbox Validating backup ... host.flowbox "config.json" is valid 22:51:20.057 DEBUG iobroker host.flowbox "objects.jsonl" exists host.flowbox "states.jsonl" exists 22:51:21.114 DEBUG iobroker host.flowbox JSONL lines are valid 22:51:21.129 DEBUG iobroker host.flowbox The backup is valid! 22:51:23.131 DEBUG iobroker Backup created: /opt/iobroker/backups/iobroker_2025_05_23-22_51_14_backupiobroker.tar.gz 22:51:23.143 DEBUG iobroker This backup can only be restored with js-controller version 7.0 or higher 22:51:24.233 DEBUG iobroker done 22:51:27.554 WARN clean No older backup files are deleted, because this backup was started manually 22:51:27.597 DEBUG clean done 22:51:27.719 DEBUG historyHTML new history html values created 22:51:27.845 DEBUG historyHTML done 22:51:27.993 DEBUG historyJSON new history json values created 22:51:28.035 DEBUG historyJSON done 22:51:30.520 DEBUG notification done 22:51:30.666 INFO gui Das Backup wurde erfolgreich erstellt!
Das ist der log mit ioB- und Grafana-Haken:
22:52:04.644 INFO gui Backup gestartet ... 22:52:12.872 DEBUG iobroker host.flowbox 193 objects saved 22:52:12.988 DEBUG iobroker host.flowbox 140 states saved 22:52:13.003 DEBUG iobroker host.flowbox Validating backup ... 22:52:13.005 DEBUG iobroker host.flowbox "config.json" is valid host.flowbox "objects.jsonl" exists host.flowbox "states.jsonl" exists 22:52:14.017 DEBUG iobroker host.flowbox The backup is valid! 22:52:15.067 DEBUG iobroker Backup created: /opt/iobroker/backups/iobroker_2025_05_23-22_52_07_backupiobroker.tar.gz 22:52:15.111 DEBUG iobroker This backup can only be restored with js-controller version 7.0 or higher 22:52:16.118 DEBUG iobroker done 22:52:17.522 DEBUG grafana Start Grafana Backup ... 22:52:17.537 DEBUG grafana Created dashboard directory 22:52:17.543 DEBUG grafana Created folder directory 22:52:17.547 DEBUG grafana Created dashboards_manually_restore directory 22:52:17.549 DEBUG grafana Created datasource directory 22:52:17.602 DEBUG grafana start Grafana request ... 22:52:17.663 DEBUG grafana Grafana is available ... Status: 200 22:52:18.021 DEBUG grafana Saved dashboard-folder mapping 22:52:18.202 DEBUG grafana start Grafana backup compress ... 22:52:18.217 DEBUG grafana Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp" 22:52:18.231 DEBUG grafana Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted 22:52:18.249 DEBUG grafana done 22:52:20.191 WARN clean No older backup files are deleted, because this backup was started manually 22:52:20.234 DEBUG clean done 22:52:20.356 DEBUG historyHTML new history html values created 22:52:20.450 DEBUG historyHTML done 22:52:20.638 DEBUG historyJSON new history json values created 22:52:20.669 DEBUG historyJSON done 22:52:23.150 DEBUG notification done 22:52:23.303 INFO gui Das Backup wurde erfolgreich erstellt!
BTW:
Es gibt keine Dashboards, oh, oh, oh, sag nicht der ganze Tanz nur weil ich hier ins Blaue schieße. Ich wollte erstmal testen, ob das funzt.
Backup machen, restoren, ein bisschen cash rüberwachsen lassen und dann ioB fröhlich als Modbus-Watcher nutzen. -
@minkhx Hat dein Grafana denn keine Inhalte? Keine Datasource und keine Dashboards?
-
@simatec Äh, nope? Grade erst alles eingerichtet. Grafane stünde am Schluss von Allem bzw. habe ich noch nicht mal Sensordaten, welche ich fluxen und dann darstellen könnte.
Vllt. kann ich ja einen Systemdienst/Sensor loggen, wenn das erforderlich ist. -
@minkhx Richte das erstmal ein und dann setze den Hacken in Backitup. Du sicherst gerade ein System, das nicht vorhanden ist
-
@simatec Ok, ich hatte am Anfang Influx als input gesetzt, aber noch keine Dashes angelegt. Ich versuch das mal. Mal sehen, was in influx so Verwertbares enthält.
-
@simatec
Hier der log mit ioB, flux, Grafana:23:10:26.402 INFO gui Backup gestartet ... 23:10:34.540 DEBUG iobroker host.flowbox 193 objects saved 23:10:34.623 DEBUG iobroker host.flowbox 140 states saved 23:10:34.688 DEBUG iobroker host.flowbox Validating backup ... host.flowbox "config.json" is valid 23:10:34.692 DEBUG iobroker host.flowbox "objects.jsonl" exists host.flowbox "states.jsonl" exists 23:10:35.634 DEBUG iobroker host.flowbox The backup is valid! 23:10:37.256 DEBUG iobroker Backup created: /opt/iobroker/backups/iobroker_2025_05_23-23_10_28_backupiobroker.tar.gz 23:10:37.257 DEBUG iobroker This backup can only be restored with js-controller version 7.0 or higher 23:10:38.296 DEBUG iobroker done 23:10:38.465 DEBUG influxDB InfluxDB-Backup started ... 23:10:38.479 DEBUG influxDB InfluxDB Backup tmp directory created 23:10:38.575 DEBUG influxDB Backup created: /opt/iobroker/backups/influxDB_2025_05_23-23_10_39_backupiobroker.tar.gz 23:10:38.590 DEBUG influxDB Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2025_05_23-23_10_39_backupiobroker" 23:10:38.604 DEBUG influxDB InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2025_05_23-23_10_39_backupiobroker" successfully deleted 23:10:38.641 DEBUG influxDB InfluxDB-Backup for is finish 23:10:38.643 DEBUG influxDB done 23:10:39.888 DEBUG grafana Start Grafana Backup ... 23:10:39.902 DEBUG grafana Created dashboard directory 23:10:39.932 DEBUG grafana Created folder directory 23:10:39.949 DEBUG grafana Created datasource directory 23:10:40.011 DEBUG grafana start Grafana request ... 23:10:40.026 DEBUG grafana Grafana is available ... Status: 200 23:10:40.662 DEBUG grafana found Dashboard: tst-dashboard-gauge 23:10:40.978 DEBUG grafana Saved dashboard-folder mapping 23:10:41.178 DEBUG grafana start Grafana backup compress ... 23:10:46.208 DEBUG grafana Backup created: /opt/iobroker/backups/grafana_2025_05_23-23_10_41_backupiobroker.tar.gz 23:10:46.223 DEBUG grafana Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted 23:10:46.265 DEBUG grafana done 23:10:48.183 WARN clean No older backup files are deleted, because this backup was started manually 23:10:48.224 DEBUG clean done 23:10:48.353 DEBUG historyHTML new history html values created 23:10:48.452 DEBUG historyHTML done 23:10:48.640 DEBUG historyJSON new history json values created 23:10:48.681 DEBUG historyJSON done 23:10:51.151 DEBUG notification done 23:10:51.315 INFO gui Das Backup wurde erfolgreich erstellt!
Zusätzlich noch Node-Red:
23:11:50.291 INFO gui Backup gestartet ... 23:11:58.680 DEBUG iobroker host.flowbox 193 objects saved 23:11:58.775 DEBUG iobroker host.flowbox 141 states saved host.flowbox Validating backup ... 23:11:58.787 DEBUG iobroker host.flowbox "config.json" is valid host.flowbox "objects.jsonl" exists host.flowbox "states.jsonl" exists 23:11:59.757 DEBUG iobroker host.flowbox JSONL lines are valid 23:11:59.767 DEBUG iobroker host.flowbox The backup is valid! 23:12:01.472 DEBUG iobroker Backup created: /opt/iobroker/backups/iobroker_2025_05_23-23_11_52_backupiobroker.tar.gz 23:12:01.474 DEBUG iobroker This backup can only be restored with js-controller version 7.0 or higher 23:12:02.514 DEBUG iobroker done 23:12:02.681 DEBUG influxDB InfluxDB-Backup started ... 23:12:02.683 DEBUG influxDB Start InfluxDB Backup ... 23:12:02.725 DEBUG influxDB InfluxDB Backup tmp directory created 23:12:02.845 DEBUG influxDB Backup created: /opt/iobroker/backups/influxDB_2025_05_23-23_12_03_backupiobroker.tar.gz 23:12:02.865 DEBUG influxDB Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2025_05_23-23_12_03_backupiobroker" 23:12:02.869 DEBUG influxDB InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2025_05_23-23_12_03_backupiobroker" successfully deleted 23:12:02.874 DEBUG influxDB InfluxDB-Backup for is finish 23:12:02.912 DEBUG influxDB done 23:12:04.180 DEBUG grafana Start Grafana Backup ... 23:12:04.186 DEBUG grafana Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp" 23:12:04.193 DEBUG grafana Created dashboard directory 23:12:04.214 DEBUG grafana Created folder directory 23:12:04.227 DEBUG grafana Created dashboards_manually_restore directory 23:12:04.234 DEBUG grafana Created datasource directory 23:12:04.332 DEBUG grafana start Grafana request ... 23:12:04.346 DEBUG grafana Grafana is available ... Status: 200 23:12:05.041 DEBUG grafana found Dashboard: tst-dashboard-gauge 23:12:05.355 DEBUG grafana Saved dashboard-folder mapping 23:12:05.529 DEBUG grafana start Grafana backup compress ... 23:12:10.600 DEBUG grafana Backup created: /opt/iobroker/backups/grafana_2025_05_23-23_12_06_backupiobroker.tar.gz 23:12:10.605 DEBUG grafana Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp" 23:12:10.622 DEBUG grafana Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted 23:12:10.661 DEBUG grafana done 23:12:11.383 DEBUG nodered Created nodered tmp directory 23:12:11.401 DEBUG nodered Node-Red tmp copy finish 23:12:11.427 DEBUG nodered Backup created: /opt/iobroker/backups/nodered.0_2025_05_23-23_12_12_backupiobroker.tar.gz 23:12:11.438 DEBUG nodered Try deleting the old node-red tmp directory: "/opt/iobroker/backups/noderedtmp0" 23:12:11.441 DEBUG nodered node-red tmp directory "/opt/iobroker/backups/noderedtmp0" successfully deleted 23:12:11.494 DEBUG nodered done 23:12:12.652 WARN clean No older backup files are deleted, because this backup was started manually 23:12:12.693 DEBUG clean done 23:12:12.824 DEBUG historyHTML new history html values created 23:12:12.923 DEBUG historyHTML done 23:12:13.131 DEBUG historyJSON new history json values created 23:12:13.171 DEBUG historyJSON done 23:12:15.641 DEBUG notification done 23:12:15.791 INFO gui Das Backup wurde erfolgreich erstellt!
Das funzt auch mit DNS statt IP.
Oh, srry, mein Fehler. Ich hab da iwie die Fehlermeldung ganz anders interpretiert...
Das Dash ist zwar leer bzw. visualisiert "keine Daten", aber das reicht scheinbar erstmal.
Backitup ist durchdacht und zweckmäßig, brauche ich:) Ich lass euch was cash rüberwachsen.