Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. InfluxDB
    5. mit backitup kein Influxdb und Grafana backup möglich

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    mit backitup kein Influxdb und Grafana backup möglich

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Marc Berg last edited by

      @marc-berg sagte in Vis über npm gibt EHOSTUNREACH:

      Für Garfana musst du

      @Christian-5
      ...einen neuen Thread in offTopic aufmachen.
      Hat mit diesem Thema nichts mehr zu tun.

      Homoran 1 Reply Last reply Reply Quote 0
      • C
        Christian 5 @Thomas Braun last edited by

        @thomas-braun sagte in Vis über npm gibt EHOSTUNREACH:

        Grafana-Repository

        meinst das hier: echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Christian 5 last edited by Thomas Braun

          @christian-5

          Jein. Der Key muss richtig gesetzt werden.
          Schau hier rein:

          https://forum.iobroker.net/topic/59231/phantastische-repositories-und-wo-sie-zu-finden-sind

          C 1 Reply Last reply Reply Quote 0
          • C
            Christian 5 @Thomas Braun last edited by Christian 5

            @thomas-braun sagte in Vis über npm gibt EHOSTUNREACH:

            @christian-5

            Jein. Der Key muss richtig gesetzt werden. --> ich versteh schon wieder nur Bahnhof welcher key in grafana Api Key wie bekomm ich den aus grafana
            grafana und influxdb sind verbunden

            https://forum.iobroker.net/topic/59231/phantastische-repositories-und-wo-sie-zu-finden-sind
            -->Muss ich da alle 4 Zeilen...

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Christian 5 last edited by

              @christian-5

              Der Key für das Repository. Hat mit dem Zugang zu influxdb oder grafana nix zu tun.

              Ja, alle vier Zeilen in dein Terminal reinkopieren.

              C 1 Reply Last reply Reply Quote 0
              • C
                Christian 5 @Thomas Braun last edited by

                @thomas-braun Danke, aber bei den backitup Einstellungen unter grafana wird ja auch ein Api key verlangt muss ich den auch neu eingeben, aber von wo her bekommen?

                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @Christian 5 last edited by

                  @christian-5

                  Ich hab von grafana / influxdb keine Ahnung, was die diversen Tokens dort angeht.

                  1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @Homoran last edited by

                    @homoran sagte in Influx/Grafana Probleme:

                    @marc-berg sagte in Vis über npm gibt EHOSTUNREACH:

                    Für Garfana musst du

                    @Christian-5
                    ...einen neuen Thread in offTopic aufmachen.
                    Hat mit diesem Thema nichts mehr zu tun.

                    @Christian-0 Nachdem du das nicht gemacht hast, habe ich diesen Part jetzt abgespalten und verschoben!

                    Bitte noch den provisorischen Threadtitel sinnvoll anpassen.

                    C 2 Replies Last reply Reply Quote 0
                    • C
                      Christian 5 @Homoran last edited by

                      @homoran sagte in Influx/Grafana Probleme:

                      @homoran sagte in Influx/Grafana Probleme:

                      @marc-berg sagte in Vis über npm gibt EHOSTUNREACH:

                      Für Garfana musst du

                      @Christian-5
                      ...einen neuen Thread in offTopic aufmachen.
                      Hat mit diesem Thema nichts mehr zu tun.

                      @Christian-0 Nachdem du das nicht gemacht hast, habe ich diesen Part jetzt abgespalten und verschoben!
                      Danke!

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        Christian 5 @Christian 5 last edited by

                        @christian-5 nach dem grafana backup diese Meldung:

                        code_text
                        ```Started restore ...
                        [DEBUG] [grafana] - Start Grafana Restore ...
                        [DEBUG] [grafana] - filename for restore: /opt/iobroker/backups/grafana_2023_11_23-04_46_57_Meine001Sicherung_backupiobroker.tar.gz
                        [DEBUG] [grafana] - Grafana tmp directory created: /opt/iobroker/backups/grafana_tmp
                        [DEBUG] [grafana] - start decompress
                        [DEBUG] [grafana] - Grafana request started
                        [DEBUG] [grafana] - Grafana is available ... Status: 200
                        [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/datasource/InfluxDB-1.json
                        [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/datasource/InfluxDB.json
                        [DEBUG] [grafana] - cannot restore datasource "InfluxDB": "data source with the same name already exists"
                        [DEBUG] [grafana] - cannot restore datasource "InfluxDB-1": "data source with the same name already exists"
                        [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/dashboard-alles-mogliche-1woche.json
                        [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/kurven-1jahr.json
                        [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/pv1-pv2-leistung-1tag.json
                        [DEBUG] [grafana] - cannot restore dashboard "dashboard-alles-mogliche-1woche": {"extra":null,"message":"organization not found","messageId":"org.notFound","statusCode":404,"traceID":""}
                        [DEBUG] [grafana] - cannot restore dashboard "kurven-1jahr": {"extra":null,"message":"organization not found","messageId":"org.notFound","statusCode":404,"traceID":""}
                        [DEBUG] [grafana] - cannot restore dashboard "pv1-pv2-leistung-1tag": {"extra":null,"message":"organization not found","messageId":"org.notFound","statusCode":404,"traceID":""}
                        [DEBUG] [grafana] - Grafana request ended
                        [DEBUG] [grafana] - Try deleting the Grafana tmp directory
                        [DEBUG] [grafana] - Grafana tmp directory was successfully deleted
                        [DEBUG] [grafana] - Grafana Restore completed successfully
                        [EXIT] Grafana restore done
                        Marc Berg 1 Reply Last reply Reply Quote 0
                        • C
                          Christian 5 @Homoran last edited by

                          Bitte noch den provisorischen Threadtitel sinnvoll anpassen.

                          aber wie?

                          Marc Berg 1 Reply Last reply Reply Quote 0
                          • Marc Berg
                            Marc Berg Most Active @Christian 5 last edited by Marc Berg

                            @christian-5 sagte in Influx/Grafana Probleme:

                            data source with the same name already exists

                            Du musst die Buckets manuell vor dem Restore löschen und am besten die Adapter stoppen, damit nicht gleich wieder Daten reinfliegen. Die entsprechende Funktion in den Backitup Einstellungen funktioniert nicht (immer?).

                            1 Reply Last reply Reply Quote 0
                            • Marc Berg
                              Marc Berg Most Active @Christian 5 last edited by

                              @christian-5 sagte in Influx/Grafana Probleme:

                              aber wie?

                              den ersten Post hier im Thread editieren.

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                Christian 5 @Marc Berg last edited by

                                @marc-berg danke, bucket in influx gelöscht, influx neu gestartet Adapter deaktiviert:

                                code_text
                                ```Started restore ...
                                [DEBUG] [influxDB] - Created tmp directory
                                [DEBUG] [influxDB] - Start infuxDB Restore ...
                                [ERROR] [influxDB] - 2023/11/25 21:07:12 INFO: Restoring bucket "9d69ae680368264c" as "iobroker"
                                Error: failed to restore bucket "iobroker": 401 Unauthorized: read:authorizations is unauthorized
                                
                                [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                                [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                                [DEBUG] [influxDB] - infuxDB Restore completed successfully
                                [EXIT] influxDB restore done
                                Marc Berg 1 Reply Last reply Reply Quote 0
                                • Marc Berg
                                  Marc Berg Most Active @Christian 5 last edited by

                                  @christian-5 sagte in mit backitup kein Influxdb und Grafana backup möglich:

                                  401 Unauthorized: read:authorizations is unauthorized

                                  Du benutzt einen falschen Token.

                                  https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-für-ioBroker.backitup#influxdb2-restore

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    Christian 5 @Marc Berg last edited by Christian 5

                                    @marc-berg neuen Token eingetragen und wieder das gleiche Ergebnis... ich bin zu blöd

                                    C Marc Berg 2 Replies Last reply Reply Quote 0
                                    • C
                                      Christian 5 @Christian 5 last edited by Christian 5

                                      @christian-5 und in grafana das selbe jetzt hab ich den inhalt im Ordner /opt/iobroker/iobroker-data/backup-objects gelöscht, schau ma amoal

                                      code_text
                                      ```Started restore ...
                                      [DEBUG] [grafana] - Start Grafana Restore ...
                                      [DEBUG] [grafana] - filename for restore: /opt/iobroker/backups/grafana_2023_11_23-04_46_57_Meine001Sicherung_backupiobroker.tar.gz
                                      [DEBUG] [grafana] - Grafana tmp directory created: /opt/iobroker/backups/grafana_tmp
                                      [DEBUG] [grafana] - start decompress
                                      [DEBUG] [grafana] - Grafana request started
                                      [DEBUG] [grafana] - Grafana is available ... Status: 200
                                      [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/datasource/InfluxDB-1.json
                                      [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/datasource/InfluxDB.json
                                      [DEBUG] [grafana] - cannot restore datasource "InfluxDB-1": "data source with the same name already exists"
                                      [DEBUG] [grafana] - cannot restore datasource "InfluxDB": "data source with the same name already exists"
                                      [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/dashboard-alles-mogliche-1woche.json
                                      [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/kurven-1jahr.json
                                      [DEBUG] [grafana] - Try to Restore: /opt/iobroker/backups/grafana_tmp/dashboards/pv1-pv2-leistung-1tag.json
                                      [DEBUG] [grafana] - cannot restore dashboard "pv1-pv2-leistung-1tag": {"extra":null,"message":"organization not found","messageId":"org.notFound","statusCode":404,"traceID":""}
                                      [DEBUG] [grafana] - cannot restore dashboard "kurven-1jahr": {"extra":null,"message":"organization not found","messageId":"org.notFound","statusCode":404,"traceID":""}
                                      [DEBUG] [grafana] - cannot restore dashboard "dashboard-alles-mogliche-1woche": {"extra":null,"message":"organization not found","messageId":"org.notFound","statusCode":404,"traceID":""}
                                      [DEBUG] [grafana] - Grafana request ended
                                      [DEBUG] [grafana] - Try deleting the Grafana tmp directory
                                      [DEBUG] [grafana] - Grafana tmp directory was successfully deleted
                                      [DEBUG] [grafana] - Grafana Restore completed successfully
                                      [EXIT] Grafana restore done
                                      

                                      code_text

                                      [DEBUG] [grafana] - cannot restore datasource "InfluxDB": "data source with the same name already exists"    
                                        ich hab die beiden daten Quellen in Grafana aber gelöscht.
                                      1 Reply Last reply Reply Quote 0
                                      • Marc Berg
                                        Marc Berg Most Active @Christian 5 last edited by

                                        @christian-5 sagte in mit backitup kein Influxdb und Grafana backup möglich:

                                        neuen Token eingetragen

                                        wo hast du den neuen Token her?

                                        C 1 Reply Last reply Reply Quote 0
                                        • C
                                          Christian 5 @Marc Berg last edited by Christian 5

                                          @marc-berg aus influxdb unter API Tokens influx token.png erzeugt

                                          ich hab in eurer Anleitung zum backitup adapter gelesen das die influxdb cli installiert gehört, dachte die influxdb cli wird jetzt automatisch mit installiert.

                                          Marc Berg 1 Reply Last reply Reply Quote 0
                                          • Marc Berg
                                            Marc Berg Most Active @Christian 5 last edited by

                                            @christian-5 sagte in mit backitup kein Influxdb und Grafana backup möglich:

                                            aus influxdb unter API Tokens erzeugt

                                            Und das ist falsch, darum hatte ich die Dokumentation dazu verlinkt, in der es erklärt ist.

                                            dachte die influxdb cli wird jetzt automatisch mit installiert.

                                            Nein. Wer hat das je behauptet?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            809
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            10
                                            119
                                            7459
                                            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