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.
    • crunchip
      crunchip Forum Testing Most Active @Christian 5 last edited by

      @christian-5 ich hab zwar selbst keine influxdb2 aber so wie ich es verstehe,
      du benötigst den Operator Token(dieser wird einmalig beim einrichten angezeigt)
      wenn du ihn gelöscht hast, musst du einen neuen anlegen, sollte er noch vorhanden sein, dann
      einen Token erstellen (all access token)...hast du ja bereits, soweit ich das sehen
      und dann mit diesem Token den Befehl absetzen zum auslesen

      influx auth list -t <ein all access token>
      
      1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Christian 5 last edited by

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

        Vieleicht ist auch das Bookworm System zu neu für eurer Backitup?

        Nein.

        1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @Christian 5 last edited by

          @christian-5 die <> müssen weg

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

            
            influx auth list -t JFDFtCoikpXsamvQ1FoN6lJ2sHepumBw5N4VviHmnywuWZ4A2xKOQPb1WISCw9i3y_17x7cHHJ3_pLwH0NJvMQ==
            ID                      Description                                     Token                                                                                           Us                               er Name User ID                 Permissions
            0c2d801b8c011000        admin's Token                                   cQHuJNykWV5aRtKXVJZi5UgTOj2WwpslbSmwTDk9TyteHkQjTnicoSxf5oqWrZYLvfuLsHgRLJM9Up9zzgmzCA==        ad                               min             0c2d801b56411000        [read:/authorizations write:/authorizations read:/buckets write:/buckets read:/dashboards write:/dashboards read:/orgs write:/orgs                                read:/sources write:/sources read:/tasks write:/tasks read:/telegrafs write:/telegrafs read:/users write:/users read:/variables write:/variables read:/scrapers write:/sc                               rapers read:/secrets write:/secrets read:/labels write:/labels read:/views write:/views read:/documents write:/documents read:/notificationRules write:/notificationRules                                read:/notificationEndpoints write:/notificationEndpoints read:/checks write:/checks read:/dbrp write:/dbrp read:/notebooks write:/notebooks read:/annotations write:/annot                               ations read:/remotes write:/remotes read:/replications write:/replications]
            0c2d80d103411000        onboarding-cliWizard-token-1700908099560        Kyk2IZoDXhQZuaStF0QDjPqh6NFYFlCQog7EbIaFhwLZG5YGoj5RMJQOgahOG00uWCNjX6j55gC2VJnTrlUVzA==        ad                               min             0c2d801b56411000        [read:orgs/aaf9f9785dadebad/annotations write:orgs/aaf9f9785dadebad/annotations read:orgs/aaf9f9785dadebad/authorizations write:or                               gs/aaf9f9785dadebad/authorizations read:orgs/aaf9f9785dadebad/buckets write:orgs/aaf9f9785dadebad/buckets read:orgs/aaf9f9785dadebad/checks write:orgs/aaf9f9785dadebad/ch                               ecks read:orgs/aaf9f9785dadebad/dashboards write:orgs/aaf9f9785dadebad/dashboards read:orgs/aaf9f9785dadebad/dbrp write:orgs/aaf9f9785dadebad/dbrp read:orgs/aaf9f9785dade                               bad/documents write:orgs/aaf9f9785dadebad/documents read:orgs/aaf9f9785dadebad/labels write:orgs/aaf9f9785dadebad/labels read:orgs/aaf9f9785dadebad/notebooks write:orgs/a                               af9f9785dadebad/notebooks read:orgs/aaf9f9785dadebad/notificationEndpoints write:orgs/aaf9f9785dadebad/notificationEndpoints read:orgs/aaf9f9785dadebad/notificationRules                                write:orgs/aaf9f9785dadebad/notificationRules read:/orgs/aaf9f9785dadebad read:orgs/aaf9f9785dadebad/remotes write:orgs/aaf9f9785dadebad/remotes read:orgs/aaf9f9785dadeba                               d/replications write:orgs/aaf9f9785dadebad/replications read:orgs/aaf9f9785dadebad/scrapers write:orgs/aaf9f9785dadebad/scrapers read:orgs/aaf9f9785dadebad/secrets write:                               orgs/aaf9f9785dadebad/secrets read:orgs/aaf9f9785dadebad/sources write:orgs/aaf9f9785dadebad/sources read:orgs/aaf9f9785dadebad/tasks write:orgs/aaf9f9785dadebad/tasks re                               ad:orgs/aaf9f9785dadebad/telegrafs write:orgs/aaf9f9785dadebad/telegrafs read:/users/0c2d801b56411000 write:/users/0c2d801b56411000 read:orgs/aaf9f9785dadebad/variables w                               rite:orgs/aaf9f9785dadebad/variables read:orgs/aaf9f9785dadebad/views write:orgs/aaf9f9785dadebad/views]
            0c2d8d76d297d000        grafana                                         msIXJhJxmmX1Mb_CIRU4_wuauwBcxf4ePOAEdtiOu1Sb8oAy7rltutBdGTbwf3CNMh3aIleX3ExJR4ywvJPmmg==        ad                               min             0c2d801b56411000        [read:orgs/aaf9f9785dadebad/annotations write:orgs/aaf9f9785dadebad/annotations read:orgs/aaf9f9785dadebad/authorizations write:or                               gs/aaf9f9785dadebad/authorizations read:orgs/aaf9f9785dadebad/buckets write:orgs/aaf9f9785dadebad/buckets read:orgs/aaf9f9785dadebad/checks write:orgs/aaf9f9785dadebad/ch                               ecks read:orgs/aaf9f9785dadebad/dashboards write:orgs/aaf9f9785dadebad/dashboards read:orgs/aaf9f9785dadebad/dbrp write:orgs/aaf9f9785dadebad/dbrp read:orgs/aaf9f9785dade                               bad/documents write:orgs/aaf9f9785dadebad/documents read:orgs/aaf9f9785dadebad/labels write:orgs/aaf9f9785dadebad/labels read:orgs/aaf9f9785dadebad/notebooks write:orgs/a                               af9f9785dadebad/notebooks read:orgs/aaf9f9785dadebad/notificationEndpoints write:orgs/aaf9f9785dadebad/notificationEndpoints read:orgs/aaf9f9785dadebad/notificationRules                                write:orgs/aaf9f9785dadebad/notificationRules read:/orgs/aaf9f9785dadebad read:orgs/aaf9f9785dadebad/remotes write:orgs/aaf9f9785dadebad/remotes read:orgs/aaf9f9785dadeba                               d/replications write:orgs/aaf9f9785dadebad/replications read:orgs/aaf9f9785dadebad/scrapers write:orgs/aaf9f9785dadebad/scrapers read:orgs/aaf9f9785dadebad/secrets write:                               orgs/aaf9f9785dadebad/secrets read:orgs/aaf9f9785dadebad/sources write:orgs/aaf9f9785dadebad/sources read:orgs/aaf9f9785dadebad/tasks write:orgs/aaf9f9785dadebad/tasks re                               ad:orgs/aaf9f9785dadebad/telegrafs write:orgs/aaf9f9785dadebad/telegrafs read:/users/0c2d801b56411000 write:/users/0c2d801b56411000 read:orgs/aaf9f9785dadebad/variables w                               rite:orgs/aaf9f9785dadebad/variables read:orgs/aaf9f9785dadebad/views write:orgs/aaf9f9785dadebad/views]
            0c2e085522948000        backitup                                        lr7G2Rh7GgWvg-2EfUPV4ZRan69zLW2vTSTb5a4ytdd5XxbU8-gPIrB27oOICkXpQUDuSBfNGhOX6lbhS9n5GA==        ad                               min             0c2d801b56411000        [read:orgs/aaf9f9785dadebad/annotations write:orgs/aaf9f9785dadebad/annotations read:orgs/aaf9f9785dadebad/authorizations write:or                               gs/aaf9f9785dadebad/authorizations read:orgs/aaf9f9785dadebad/buckets write:orgs/aaf9f9785dadebad/buckets read:orgs/aaf9f9785dadebad/checks write:orgs/aaf9f9785dadebad/ch                               ecks read:orgs/aaf9f9785dadebad/dashboards write:orgs/aaf9f9785dadebad/dashboards read:orgs/aaf9f9785dadebad/dbrp write:orgs/aaf9f9785dadebad/dbrp read:orgs/aaf9f9785dade                               bad/documents write:orgs/aaf9f9785dadebad/documents read:orgs/aaf9f9785dadebad/labels write:orgs/aaf9f9785dadebad/labels read:orgs/aaf9f9785dadebad/notebooks write:orgs/a                               af9f9785dadebad/notebooks read:orgs/aaf9f9785dadebad/notificationEndpoints write:orgs/aaf9f9785dadebad/notificationEndpoints read:orgs/aaf9f9785dadebad/notificationRules                                write:orgs/aaf9f9785dadebad/notificationRules read:/orgs/aaf9f9785dadebad read:orgs/aaf9f9785dadebad/remotes write:orgs/aaf9f9785dadebad/remotes read:orgs/aaf9f9785dadeba                               d/replications write:orgs/aaf9f9785dadebad/replications read:orgs/aaf9f9785dadebad/scrapers write:orgs/aaf9f9785dadebad/scrapers read:orgs/aaf9f9785dadebad/secrets write:                               orgs/aaf9f9785dadebad/secrets read:orgs/aaf9f9785dadebad/sources write:orgs/aaf9f9785dadebad/sources read:orgs/aaf9f9785dadebad/tasks write:orgs/aaf9f9785dadebad/tasks re                               ad:orgs/aaf9f9785dadebad/telegrafs write:orgs/aaf9f9785dadebad/telegrafs read:/users/0c2d801b56411000 write:/users/0c2d801b56411000 read:orgs/aaf9f9785dadebad/variables w                               rite:orgs/aaf9f9785dadebad/variables read:orgs/aaf9f9785dadebad/views write:orgs/aaf9f9785dadebad/views]
            0c2ed4bfcb320000        admin's Token (cloned at 2023-11-26 11:13:29)   JFDFtCoikpXsamvQ1FoN6lJ2sHepumBw5N4VviHmnywuWZ4A2xKOQPb1WISCw9i3y_17x7cHHJ3_pLwH0NJvMQ==        ad                               min             0c2d801b56411000        [read:/authorizations write:/authorizations read:/buckets write:/buckets read:/dashboards write:/dashboards read:/orgs write:/orgs                                read:/sources write:/sources read:/tasks write:/tasks read:/telegrafs write:/telegrafs read:/users write:/users read:/variables write:/variables read:/scrapers write:/sc                               rapers read:/secrets write:/secrets read:/labels write:/labels read:/views write:/views read:/documents write:/documents read:/notificationRules write:/notificationRules                                read:/notificationEndpoints write:/notificationEndpoints read:/checks write:/checks read:/dbrp write:/dbrp read:/notebooks write:/notebooks read:/annotations write:/annot                               ations read:/remotes write:/remotes read:/replications write:/replications]
            
            

            und welchen soll ich jetzt nehmen?

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Christian 5 last edited by

              @christian-5 laut Anleitung

              Das erste gelistete Token ist das Operator-Token
              
              C Marc Berg 2 Replies Last reply Reply Quote 0
              • C
                Christian 5 @crunchip last edited by Christian 5

                @crunchip nachdems mit dem ersten token wieder nicht funktioniert hat, hab ich jetzt mit
                <sudo influxd recovery auth create-operator --org my-org --username admin --bolt-path /var/lib/influxdb/influxd.bolt> einen neuen token erzeugt

                 sudo influxd recovery auth create-operator --org my-org -                              -username admin --bolt-path /var/lib/influxdb/influxd.bolt
                2023-11-26T12:17:28.871113Z     info    Resources opened        {"log_id": "0ljt                              rN9W000", "system": "bolt-kvstore", "path": "/var/lib/influxdb/influxd.bolt"}
                ID                      User Name       User ID                 Description    T                              oken                                                                           P                              ermissions
                0c2d801b8c011000        admin           0c2d801b56411000        admin's Token  c                              QHuJNykWV5aRtKXVJZi5UgTOj2WwpslbSmwTDk9TyteHkQjTnicoSxf5oqWrZYLvfuLsHgRLJM9Up9zz                              gmzCA== [read:authorizations write:authorizations read:buckets write:buckets rea                              d:dashboards write:dashboards read:orgs write:orgs read:sources write:sources re                              ad:tasks write:tasks read:telegrafs write:telegrafs read:users write:users read:                              variables write:variables read:scrapers write:scrapers read:secrets write:secret                              s read:labels write:labels read:views write:views read:documents write:documents                               read:notificationRules write:notificationRules read:notificationEndpoints write                              :notificationEndpoints read:checks write:checks read:dbrp write:dbrp read:notebo                              oks write:notebooks read:annotations write:annotations read:remotes write:remote                              s read:replications write:replications]
                0c2d80d103411000        admin           0c2d801b56411000        onboarding-cliWi                              zard-token-1700908099560        Kyk2IZoDXhQZuaStF0QDjPqh6NFYFlCQog7EbIaFhwLZG5YG                              oj5RMJQOgahOG00uWCNjX6j55gC2VJnTrlUVzA==        [read:orgs/aaf9f9785dadebad/anno                              tations write:orgs/aaf9f9785dadebad/annotations read:orgs/aaf9f9785dadebad/autho                              rizations write:orgs/aaf9f9785dadebad/authorizations read:orgs/aaf9f9785dadebad/                              buckets write:orgs/aaf9f9785dadebad/buckets read:orgs/aaf9f9785dadebad/checks wr                              ite:orgs/aaf9f9785dadebad/checks read:orgs/aaf9f9785dadebad/dashboards write:org                              s/aaf9f9785dadebad/dashboards read:orgs/aaf9f9785dadebad/dbrp write:orgs/aaf9f97                              85dadebad/dbrp read:orgs/aaf9f9785dadebad/documents write:orgs/aaf9f9785dadebad/                              documents read:orgs/aaf9f9785dadebad/labels write:orgs/aaf9f9785dadebad/labels r                              ead:orgs/aaf9f9785dadebad/notebooks write:orgs/aaf9f9785dadebad/notebooks read:o                              rgs/aaf9f9785dadebad/notificationEndpoints write:orgs/aaf9f9785dadebad/notificat                              ionEndpoints read:orgs/aaf9f9785dadebad/notificationRules write:orgs/aaf9f9785da                              debad/notificationRules read:orgs/aaf9f9785dadebad read:orgs/aaf9f9785dadebad/re                              motes write:orgs/aaf9f9785dadebad/remotes read:orgs/aaf9f9785dadebad/replication                              s write:orgs/aaf9f9785dadebad/replications read:orgs/aaf9f9785dadebad/scrapers w                              rite:orgs/aaf9f9785dadebad/scrapers read:orgs/aaf9f9785dadebad/secrets write:org                              s/aaf9f9785dadebad/secrets read:orgs/aaf9f9785dadebad/sources write:orgs/aaf9f97                              85dadebad/sources read:orgs/aaf9f9785dadebad/tasks write:orgs/aaf9f9785dadebad/t                              asks read:orgs/aaf9f9785dadebad/telegrafs write:orgs/aaf9f9785dadebad/telegrafs                               read:users/0c2d801b56411000 write:users/0c2d801b56411000 read:orgs/aaf9f9785dade                              bad/variables write:orgs/aaf9f9785dadebad/variables read:orgs/aaf9f9785dadebad/v                              iews write:orgs/aaf9f9785dadebad/views]
                0c2d8d76d297d000        admin           0c2d801b56411000        grafana        m                              sIXJhJxmmX1Mb_CIRU4_wuauwBcxf4ePOAEdtiOu1Sb8oAy7rltutBdGTbwf3CNMh3aIleX3ExJR4ywv                              JPmmg== [read:orgs/aaf9f9785dadebad/annotations write:orgs/aaf9f9785dadebad/anno                              tations read:orgs/aaf9f9785dadebad/authorizations write:orgs/aaf9f9785dadebad/au                              thorizations read:orgs/aaf9f9785dadebad/buckets write:orgs/aaf9f9785dadebad/buck                              ets read:orgs/aaf9f9785dadebad/checks write:orgs/aaf9f9785dadebad/checks read:or                              gs/aaf9f9785dadebad/dashboards write:orgs/aaf9f9785dadebad/dashboards read:orgs/                              aaf9f9785dadebad/dbrp write:orgs/aaf9f9785dadebad/dbrp read:orgs/aaf9f9785dadeba                              d/documents write:orgs/aaf9f9785dadebad/documents read:orgs/aaf9f9785dadebad/lab                              els write:orgs/aaf9f9785dadebad/labels read:orgs/aaf9f9785dadebad/notebooks writ                              e:orgs/aaf9f9785dadebad/notebooks read:orgs/aaf9f9785dadebad/notificationEndpoin                              ts write:orgs/aaf9f9785dadebad/notificationEndpoints read:orgs/aaf9f9785dadebad/                              notificationRules write:orgs/aaf9f9785dadebad/notificationRules read:orgs/aaf9f9                              785dadebad read:orgs/aaf9f9785dadebad/remotes write:orgs/aaf9f9785dadebad/remote                              s read:orgs/aaf9f9785dadebad/replications write:orgs/aaf9f9785dadebad/replicatio                              ns read:orgs/aaf9f9785dadebad/scrapers write:orgs/aaf9f9785dadebad/scrapers read                              :orgs/aaf9f9785dadebad/secrets write:orgs/aaf9f9785dadebad/secrets read:orgs/aaf                              9f9785dadebad/sources write:orgs/aaf9f9785dadebad/sources read:orgs/aaf9f9785dad                              ebad/tasks write:orgs/aaf9f9785dadebad/tasks read:orgs/aaf9f9785dadebad/telegraf                              s write:orgs/aaf9f9785dadebad/telegrafs read:users/0c2d801b56411000 write:users/                              0c2d801b56411000 read:orgs/aaf9f9785dadebad/variables write:orgs/aaf9f9785dadeba                              d/variables read:orgs/aaf9f9785dadebad/views write:orgs/aaf9f9785dadebad/views]
                0c2e085522948000        admin           0c2d801b56411000        backitup       l                              r7G2Rh7GgWvg-2EfUPV4ZRan69zLW2vTSTb5a4ytdd5XxbU8-gPIrB27oOICkXpQUDuSBfNGhOX6lbhS                              9n5GA== [read:orgs/aaf9f9785dadebad/annotations write:orgs/aaf9f9785dadebad/anno                              tations read:orgs/aaf9f9785dadebad/authorizations write:orgs/aaf9f9785dadebad/au                              thorizations read:orgs/aaf9f9785dadebad/buckets write:orgs/aaf9f9785dadebad/buck                              ets read:orgs/aaf9f9785dadebad/checks write:orgs/aaf9f9785dadebad/checks read:or                              gs/aaf9f9785dadebad/dashboards write:orgs/aaf9f9785dadebad/dashboards read:orgs/                              aaf9f9785dadebad/dbrp write:orgs/aaf9f9785dadebad/dbrp read:orgs/aaf9f9785dadeba                              d/documents write:orgs/aaf9f9785dadebad/documents read:orgs/aaf9f9785dadebad/lab                              els write:orgs/aaf9f9785dadebad/labels read:orgs/aaf9f9785dadebad/notebooks writ                              e:orgs/aaf9f9785dadebad/notebooks read:orgs/aaf9f9785dadebad/notificationEndpoin                              ts write:orgs/aaf9f9785dadebad/notificationEndpoints read:orgs/aaf9f9785dadebad/                              notificationRules write:orgs/aaf9f9785dadebad/notificationRules read:orgs/aaf9f9                              785dadebad read:orgs/aaf9f9785dadebad/remotes write:orgs/aaf9f9785dadebad/remote                              s read:orgs/aaf9f9785dadebad/replications write:orgs/aaf9f9785dadebad/replicatio                              ns read:orgs/aaf9f9785dadebad/scrapers write:orgs/aaf9f9785dadebad/scrapers read                              :orgs/aaf9f9785dadebad/secrets write:orgs/aaf9f9785dadebad/secrets read:orgs/aaf                              9f9785dadebad/sources write:orgs/aaf9f9785dadebad/sources read:orgs/aaf9f9785dad                              ebad/tasks write:orgs/aaf9f9785dadebad/tasks read:orgs/aaf9f9785dadebad/telegraf                              s write:orgs/aaf9f9785dadebad/telegrafs read:users/0c2d801b56411000 write:users/                              0c2d801b56411000 read:orgs/aaf9f9785dadebad/variables write:orgs/aaf9f9785dadeba                              d/variables read:orgs/aaf9f9785dadebad/views write:orgs/aaf9f9785dadebad/views]
                0c2ed4bfcb320000        admin           0c2d801b56411000        admin's Token (c                              loned at 2023-11-26 11:13:29)   JFDFtCoikpXsamvQ1FoN6lJ2sHepumBw5N4VviHmnywuWZ4A                              2xKOQPb1WISCw9i3y_17x7cHHJ3_pLwH0NJvMQ==        [read:authorizations write:autho                              rizations read:buckets write:buckets read:dashboards write:dashboards read:orgs                               write:orgs read:sources write:sources read:tasks write:tasks read:telegrafs writ                              e:telegrafs read:users write:users read:variables write:variables read:scrapers                               write:scrapers read:secrets write:secrets read:labels write:labels read:views wr                              ite:views read:documents write:documents read:notificationRules write:notificati                              onRules read:notificationEndpoints write:notificationEndpoints read:checks write                              :checks read:dbrp write:dbrp read:notebooks write:notebooks read:annotations wri                              te:annotations read:remotes write:remotes read:replications write:replications]
                0c2ee365caef5000        admin           0c2d801b56411000        admin's Recovery                               Token                          30hFbjYYtxHC0neJrJfkZW0fIm2sndXuuszLv3FNohj9ycnB                              mrxgU-jVDTyjo96wPApcFWs_9xbjf4LNE7xgnA==        [read:authorizations write:autho                              rizations read:buckets write:buckets read:dashboards write:dashboards read:orgs                               write:orgs read:sources write:sources read:tasks write:tasks read:telegrafs writ                              e:telegrafs read:users write:users read:variables write:variables read:scrapers                               write:scrapers read:secrets write:secrets read:labels write:labels read:views wr                              ite:views read:documents write:documents read:notificationRules write:notificati                              onRules read:notificationEndpoints write:notificationEndpoints read:checks write                              :checks read:dbrp write:dbrp read:notebooks write:notebooks read:annotations wri                              te:annotations read:remotes write:remotes read:replications write:replications]
                1 Reply Last reply Reply Quote 0
                • Marc Berg
                  Marc Berg Most Active @crunchip last edited by

                  @crunchip sagte in mit backitup kein Influxdb und Grafana backup möglich:

                  Das erste gelistete Token ist das Operator-Token

                  Ja, da gibt es leider einen kleinen Haken. WENN der Operator Token noch nie neu erzeugt wurde, dann ist es der erste Eintrag. Sobald man den Token einmal gelöscht und neu erzeugt hat, ist es wahrscheinlich nicht mehr der erste.

                  @Christian-5 Du kannst aber jetzt den "admin's Recovery Token" nehmen.

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

                    @marc-berg schwere Geburt mit nicht so schönem Ausgang:

                    Started restore ...
                    [DEBUG] [influxDB] - Created tmp directory
                    [DEBUG] [influxDB] - Start infuxDB Restore ...
                    [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
                    

                    influx2.png

                    keine Werte in der Datenbank

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

                      @marc-berg sagte in mit backitup kein Influxdb und Grafana backup möglich:

                      Ja, da gibt es leider einen kleinen Haken.

                      wie recht du doch hast

                      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:

                        keine Werte in der Datenbank

                        was steht da?

                        18c5c9f1-8b65-4973-8a81-598e7be702eb-grafik.png

                        C 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:

                          Ja, da gibt es leider einen kleinen Haken.

                          wie recht du doch hast

                          Steht aber auch so in der Doku:

                          78a9b712-3237-49e8-a2db-54b98f4cfa0c-grafik.png

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

                            @marc-berg sagte in mit backitup kein Influxdb und Grafana backup möglich:

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

                            keine Werte in der Datenbank

                            was steht da?

                            18c5c9f1-8b65-4973-8a81-598e7be702eb-grafik.png

                            --- irgendwann sieht man im Wald keine Bäume mehr!!!! DANKE!!!!

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

                              @christian-5 so jetzt hab ich's!

                              influxdb Wiederherstellung nach Teilen dieser Anleitung:https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-für-ioBroker.backitup#influxdb2-restore
                              influxdb nicht stoppen
                              sudo influx auth list -t ein all access token aus der influxWebOberfläche unter Load Date API Token in der Console des InfluxRechners eingeben.
                              Man erhält alle influx Token angezeigt.

                              Grafana nach dieser Doku: https://github.com/simatec/ioBroker.backitup/wiki/ioBroker.backitup-Wiki-Deutsch

                              Um ein Grafana-Backup erstellen zu können, wird der Benutzername (Admin) und das Passwort von Grafana benötigt.
                              Des weiteren muss in der Grafana-Weboberfläche ein API-Key bzw. Service Token erzeugt werden, um Zugriff auf die Dashboards zu bekommen.
                              Der Api-Key kann unter "Configuration → API Keys bzw. Service Token" erstellt werden und muss die vollen Admin-Rechte besitzen.
                              in Grafana neuen influxdb token einfügen
                              besten dank

                              1 Reply Last reply Reply Quote 0
                              • W
                                Willi-Wunder last edited by

                                Hallo, hab leider auch ein Problem beim Anlegen eines Backups mit dem Adapter backitup.
                                Es kommt folgender Fehler:
                                Fehler.jpg

                                Influx Adpater läuft:
                                Influx.jpg

                                Backitup ist so eingerichtet:
                                Influx_Backitup.jpg

                                Putty gibt folgendes aus:

                                pi@iobroker:~ $ influx version
                                Influx CLI dev (git: none) build_date: 2023-04-28T14:24:22Z
                                pi@iobroker:~ $ influx backup
                                Error: backup path must be specified as a single positional argument
                                pi@iobroker:~ $ influx config
                                Active  Name    URL                     Org
                                *       default http://localhost:8086
                                pi@iobroker:~ $ influx auth list --json
                                Error: could not find authorization with given parameters: 401 Unauthorized: unauthorized access
                                

                                Komisch ist auch, dass ich keine influxdb.conf im Verzeichnis /etc/influxdb/ finde.
                                WINSCP.jpg

                                Hab hier schon einiges gelesen zwecks anderen Port 8088 einstellen, da der Port 8086 irgendwie schon belegt ist und in der Config etwas ergänzt oder geändert werden soll. Hab leider weiter keinen Plan woran das jetzt liegen kann. Kann bitte jemand helfen?

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

                                  @willi-wunder sagte in mit backitup kein Influxdb und Grafana backup möglich:

                                  Komisch ist auch, dass ich keine influxdb.conf im Verzeichnis /etc/influxdb/ finde.

                                  Das passt schon. Dafür ist die config.toml da.

                                  Hier ist die Beschreibung im Adapter leider etwas irreführend:

                                  17758d93-7eed-4ff5-beeb-06593c124b23-grafik.png

                                  Lösch das da mal komplett raus. Wenn danach immer noch Error 401 kommt, hast du den falschen Token, dann unbedingt die Doku dazu lesen:

                                  https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-für-ioBroker.backitup#token-für-influxdb-2x-backup-richtig-erstellen

                                  Hab hier schon einiges gelesen zwecks anderen Port 8088 einstellen, da der Port 8086 irgendwie schon belegt ist und in der Config etwas ergänzt oder geändert werden soll.

                                  Das vergiss bitte schnell wieder, das ist völlig daneben.

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    Willi-Wunder last edited by Willi-Wunder

                                    @marc-berg
                                    Hi, gerade mal ausprobiert, scheinbar habe ich nicht den richtigen Token, kommt die Fehlermeldung 401 nachdem ich den Pfad gelöscht habe.

                                    In Influx hab ich diese API Token, der "Iobroker" war schon vorhanden, dieser Token ist ja bereits im Influx Adapter hinterlegt, der gleiche wurde ja auch in Backitup eingetragen. Brauche ja aber einen "Custom Token" wenn ich das richtig verstanden habe. Hab hier mal einen neuen Token mit "Backitup" angelegt und diesen dann im Adapter Backitup benutzt, geht leider auch nicht.
                                    API.jpg

                                    Beim Herstellen über die Konsole bin ich leider auch nicht weitergekommen.

                                    pi@iobroker:~ $ sudo influxd recovery auth create-operator --org my-org --username Markus --bolt-path /var/lib/influxdb2/influxd.bolt
                                    2023-12-26T21:07:11.725123Z     info    Resources opened        {"log_id": "0mL~5Mvl000", "system": "bolt-kvstore", "path": "/var/lib/influxdb2/influxd.bolt"}
                                    Error: bucket "authorizationsv1": bucket not found
                                    See 'influxd -h' for help
                                    

                                    Auf das Verzeichnis konnte ich leider nicht zugreifen (WinSCP), vermutlich liegt es am Recht.
                                    Verzei.jpg

                                    Das Verzeichnis sollte aber passen

                                    pi@iobroker:~ $ sudo find / -name influxd.bolt
                                    find: '/run/user/1000/doc': Permission denied
                                    find: '/run/user/1000/gvfs': Permission denied
                                    /var/lib/influxdb2/influxd.bolt
                                    /var/lib/influxdb/influxd.bolt
                                    

                                    Hab die Datei aber 2x gefunden, paßt das???

                                    Die Ausgabe mit dem vorhandenen "Iobroker" Token influx auth list -t <TOKEN> --json ergibt das hier:

                                    pi@iobroker:~ $ influx auth list -t 74VTRbf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxYAiIWp9rmexTYHJbxa1I0dQ_wNkqkexV7A== --json
                                    Error: could not find authorization with given parameters: Get "http://localhost:8086/api/v2/authorizations": dial tcp [::1]:8086: connect: connection refused
                                    

                                    Ich habe es doch richtig verstanden, dass der bereits angelegte "Iobroker" Token für den Adapter InfluxDB ist und beim Adpater Backitup ein "Custom Token" benötigt wird, oder?

                                    Es hakt hier also noch irgendwo. 😕

                                    simatec 1 Reply Last reply Reply Quote 0
                                    • simatec
                                      simatec Developer Most Active @Willi-Wunder last edited by

                                      @willi-wunder Lösche den Pfad in den Settings von Backitup und installiere influxdb-cli
                                      influxd ist lediglich zur Sicherung von InfluxDB 1.x geeignet. Für InfluxDB 2.x wird influxdb-cli benötigt.

                                      W 1 Reply Last reply Reply Quote 0
                                      • W
                                        Willi-Wunder @simatec last edited by

                                        @simatec
                                        Zum aktivieren nehme ich dann das hier?

                                        influx config create --config-name CONFIG_NAME
                                         \
                                          --host-url https://us-west-2-1.aws.cloud2.influxdata.com
                                         \
                                          --org ORG (my-org)
                                         \
                                          --token API_TOKEN (meinen 1. Token vom Iobroker?)
                                         \
                                          --active
                                        

                                        Vielen Dank.

                                        simatec 1 Reply Last reply Reply Quote 0
                                        • simatec
                                          simatec Developer Most Active @Willi-Wunder last edited by

                                          @willi-wunder Du musst nix aktivieren ... Deine InfluxDB läuft doch bereits

                                          W 1 Reply Last reply Reply Quote 0
                                          • W
                                            Willi-Wunder @simatec last edited by Willi-Wunder

                                            @simatec
                                            Heißt das hier so lassen und den gleichen Token wie im InfluxDB Adapter so eintragen?

                                            Influx2.jpg

                                            Nachtrag:
                                            Das habe ich installiert: wget https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.7.3-linux-amd64.tar.gz

                                            simatec 3 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            986
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

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