Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehler Backitup Grafana

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Fehler Backitup Grafana

    This topic has been deleted. Only users with topic management privileges can see it.
    • simatec
      simatec Developer Most Active @minkhx last edited by simatec

      @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

      M 1 Reply Last reply Reply Quote 0
      • M
        minkhx @simatec last edited by

        @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.

        simatec 1 Reply Last reply Reply Quote 0
        • simatec
          simatec Developer Most Active @minkhx last edited by

          @minkhx Hat dein Grafana denn keine Inhalte? Keine Datasource und keine Dashboards?

          M 1 Reply Last reply Reply Quote 0
          • M
            minkhx @simatec last edited by

            @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.

            simatec 1 Reply Last reply Reply Quote 0
            • simatec
              simatec Developer Most Active @minkhx last edited by

              @minkhx Richte das erstmal ein und dann setze den Hacken in Backitup. Du sicherst gerade ein System, das nicht vorhanden ist

              M S 3 Replies Last reply Reply Quote 0
              • M
                minkhx @simatec last edited by

                @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.

                1 Reply Last reply Reply Quote 0
                • M
                  minkhx @simatec last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • S
                    SabineT @simatec last edited by

                    @simatec es wäre praktisch, wenn es für das "Grafana Backup" auch so einen Knopf "JETZT SICHERN" geben würde, wie bei ioBroker oder Homematic. Gerade wenn man testen will, ob das Backup funktioniert.

                    simatec 1 Reply Last reply Reply Quote 0
                    • simatec
                      simatec Developer Most Active @SabineT last edited by

                      @sabinet das ist nicht geplant. Backups wie Grafana, zigbee und Co sind zusätzliche Backup Optionen zum ioBroker Backup

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        saeft_2003 Most Active @simatec last edited by

                        @simatec

                        Hi. Mit der 3.3.5 funktioniert das grafana backup nicht mehr. Es fehlt die Möglichkeit den Benutzernamen und das Passwort einzugeben. Nach einem downgrad auf 3.2.2 funktioniert wieder alles wie gewohnt.

                        Ist der Fehler bekannt?

                        simatec 1 Reply Last reply Reply Quote 0
                        • simatec
                          simatec Developer Most Active @saeft_2003 last edited by

                          @saeft_2003 Benutzername und Passwort werden nicht mehr benötigt... Der Token übernimmt alles

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            saeft_2003 Most Active @simatec last edited by

                            @simatec

                            Geht aber nicht bei mir. Langt ein normaler viewer token?

                            simatec 1 Reply Last reply Reply Quote 0
                            • simatec
                              simatec Developer Most Active @saeft_2003 last edited by

                              @saeft_2003 nein immer ein Admin Token. Steht auch so in der Doku

                              S 1 Reply Last reply Reply Quote 2
                              • S
                                saeft_2003 Most Active @simatec last edited by

                                @simatec

                                Ok danke bis jetzt hatte es mit dem viewer token funktioniert. Ich probiere jetzt den admin…

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                Support us

                                ioBroker
                                Community Adapters
                                Donate
                                FAQ Cloud / IOT
                                HowTo: Node.js-Update
                                HowTo: Backup/Restore
                                Downloads
                                BLOG

                                392
                                Online

                                31.9k
                                Users

                                80.3k
                                Topics

                                1.3m
                                Posts

                                7
                                94
                                4543
                                Loading More Posts
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes
                                Reply
                                • Reply as topic
                                Log in to reply
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                The ioBroker Community 2014-2023
                                logo