Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. InfluxDB
  5. mit backitup kein Influxdb und Grafana backup möglich

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.5k

mit backitup kein Influxdb und Grafana backup möglich

Geplant Angeheftet Gesperrt Verschoben InfluxDB
119 Beiträge 10 Kommentatoren 12.6k Aufrufe 8 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • W Willi-Wunder
    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
    
    simatecS Offline
    simatecS Offline
    simatec
    Developer Most Active
    schrieb am zuletzt editiert von
    #97

    @willi-wunder

    sudo ls -lah /var/lib/influxdb2
    sudo ls -lah /var/lib/influxdb/influxd.bolt
    
    • Besuche meine Github Seite
    • Beitrag hat geholfen oder willst du mich unterstützen
    • HowTo Restore ioBroker
    1 Antwort Letzte Antwort
    0
    • W Willi-Wunder
      pi@iobroker:~ $ sudo influxd recovery auth create-operator --org my-org --username Markus --bolt-path /var/lib/influxdb/influxd.bolt
      2023-12-26T23:27:27.171331Z     info    Resources opened        {"log_id": "0mM76~lW000", "system": "bolt-kvstore", "path": "/var/lib/influxdb/influxd.bolt"}
      ID                      User Name       User ID                 Description                                     Token                                      Permissions
      0c54cd2ed3814000        Markus          0c52172c23814000        Iobroker                                        74VTRbf_Qc6sAG_goAo4AMkdEdPKkPdWFyxVzrPhY5hNuxX43QdnYAiIWp9rmexTYHJbxa1I0dQ_wNkqkexV7A==    [read:orgs/5585922b87b26ff0/annotations write:orgs/5585922b87b26ff0/annotations read:orgs/5585922b87b26ff0/authorizations write:orgs/5585922b87b26ff0/authorizations read:orgs/5585922b87b26ff0/buckets write:orgs/5585922b87b26ff0/buckets read:orgs/5585922b87b26ff0/checks write:orgs/5585922b87b26ff0/checks read:orgs/5585922b87b26ff0/dashboards write:orgs/5585922b87b26ff0/dashboards read:orgs/5585922b87b26ff0/dbrp write:orgs/5585922b87b26ff0/dbrp read:orgs/5585922b87b26ff0/documents write:orgs/5585922b87b26ff0/documents read:orgs/5585922b87b26ff0/labels write:orgs/5585922b87b26ff0/labels read:orgs/5585922b87b26ff0/notebooks write:orgs/5585922b87b26ff0/notebooks read:orgs/5585922b87b26ff0/notificationEndpoints write:orgs/5585922b87b26ff0/notificationEndpoints read:orgs/5585922b87b26ff0/notificationRules write:orgs/5585922b87b26ff0/notificationRules read:orgs/5585922b87b26ff0 read:orgs/5585922b87b26ff0/remotes write:orgs/5585922b87b26ff0/remotes read:orgs/5585922b87b26ff0/replications write:orgs/5585922b87b26ff0/replications read:orgs/5585922b87b26ff0/scrapers write:orgs/5585922b87b26ff0/scrapers read:orgs/5585922b87b26ff0/secrets write:orgs/5585922b87b26ff0/secrets read:orgs/5585922b87b26ff0/sources write:orgs/5585922b87b26ff0/sources read:orgs/5585922b87b26ff0/tasks write:orgs/5585922b87b26ff0/tasks read:orgs/5585922b87b26ff0/telegrafs write:orgs/5585922b87b26ff0/telegrafs read:users/0c52172c23814000 write:users/0c52172c23814000 read:orgs/5585922b87b26ff0/variables write:orgs/5585922b87b26ff0/variables read:orgs/5585922b87b26ff0/views write:orgs/5585922b87b26ff0/views]
      0c55f9fbfc67e000        Markus          0c52172c23814000        Iobroker (cloned at 2023-12-26 20:56:55)        2HXiLlQiU_mc3wKWMMkPSlnH66opy68vpkXBxIkWlDfzwpOFf3JjRfk8HUdEUxLegV3Vy0qHSY7dIR78jUB8bA==    [read:orgs/5585922b87b26ff0/annotations write:orgs/5585922b87b26ff0/annotations read:orgs/5585922b87b26ff0/authorizations write:orgs/5585922b87b26ff0/authorizations read:orgs/5585922b87b26ff0/buckets write:orgs/5585922b87b26ff0/buckets read:orgs/5585922b87b26ff0/checks write:orgs/5585922b87b26ff0/checks read:orgs/5585922b87b26ff0/dashboards write:orgs/5585922b87b26ff0/dashboards read:orgs/5585922b87b26ff0/dbrp write:orgs/5585922b87b26ff0/dbrp read:orgs/5585922b87b26ff0/documents write:orgs/5585922b87b26ff0/documents read:orgs/5585922b87b26ff0/labels write:orgs/5585922b87b26ff0/labels read:orgs/5585922b87b26ff0/notebooks write:orgs/5585922b87b26ff0/notebooks read:orgs/5585922b87b26ff0/notificationEndpoints write:orgs/5585922b87b26ff0/notificationEndpoints read:orgs/5585922b87b26ff0/notificationRules write:orgs/5585922b87b26ff0/notificationRules read:orgs/5585922b87b26ff0 read:orgs/5585922b87b26ff0/remotes write:orgs/5585922b87b26ff0/remotes read:orgs/5585922b87b26ff0/replications write:orgs/5585922b87b26ff0/replications read:orgs/5585922b87b26ff0/scrapers write:orgs/5585922b87b26ff0/scrapers read:orgs/5585922b87b26ff0/secrets write:orgs/5585922b87b26ff0/secrets read:orgs/5585922b87b26ff0/sources write:orgs/5585922b87b26ff0/sources read:orgs/5585922b87b26ff0/tasks write:orgs/5585922b87b26ff0/tasks read:orgs/5585922b87b26ff0/telegrafs write:orgs/5585922b87b26ff0/telegrafs read:users/0c52172c23814000 write:users/0c52172c23814000 read:orgs/5585922b87b26ff0/variables write:orgs/5585922b87b26ff0/variables read:orgs/5585922b87b26ff0/views write:orgs/5585922b87b26ff0/views]
      0c55fb5aac495000        Markus          0c52172c23814000        Backitup                                        qa1TtBLVxvesQrUawIgN98VLv4__pSLmstVX6L-uW28IlUQk8EvcKNeCbUH82BH3t3JV6RWUB-ssdFdxg4xyqg==    [read:orgs/5585922b87b26ff0/authorizations write:orgs/5585922b87b26ff0/authorizations read:orgs/5585922b87b26ff0/buckets write:orgs/5585922b87b26ff0/buckets read:orgs/5585922b87b26ff0/dashboards write:orgs/5585922b87b26ff0/dashboards read:orgs/5585922b87b26ff0 write:orgs/5585922b87b26ff0 read:orgs/5585922b87b26ff0/sources write:orgs/5585922b87b26ff0/sources read:orgs/5585922b87b26ff0/tasks write:orgs/5585922b87b26ff0/tasks read:orgs/5585922b87b26ff0/telegrafs write:orgs/5585922b87b26ff0/telegrafs read:users/0c52172c23814000 write:users/0c52172c23814000 read:orgs/5585922b87b26ff0/variables write:orgs/5585922b87b26ff0/variables read:orgs/5585922b87b26ff0/scrapers write:orgs/5585922b87b26ff0/scrapers read:orgs/5585922b87b26ff0/secrets write:orgs/5585922b87b26ff0/secrets read:orgs/5585922b87b26ff0/labels write:orgs/5585922b87b26ff0/labels read:orgs/5585922b87b26ff0/views write:orgs/5585922b87b26ff0/views read:orgs/5585922b87b26ff0/documents write:orgs/5585922b87b26ff0/documents read:orgs/5585922b87b26ff0/notificationRules write:orgs/5585922b87b26ff0/notificationRules read:orgs/5585922b87b26ff0/notificationEndpoints write:orgs/5585922b87b26ff0/notificationEndpoints read:orgs/5585922b87b26ff0/checks write:orgs/5585922b87b26ff0/checks read:orgs/5585922b87b26ff0/dbrp write:orgs/5585922b87b26ff0/dbrp read:orgs/5585922b87b26ff0/notebooks write:orgs/5585922b87b26ff0/notebooks read:orgs/5585922b87b26ff0/annotations write:orgs/5585922b87b26ff0/annotations read:orgs/5585922b87b26ff0/remotes write:orgs/5585922b87b26ff0/remotes read:orgs/5585922b87b26ff0/replications write:orgs/5585922b87b26ff0/replications]
      0c561c6ff19d0000        Markus          0c52172c23814000        Markus's Recovery Token                         yaNHdwh6KjzO0euGPkiyhVon1uZKN4tuqaDAUL4tvVKIz14-4A-_0ZIsP9ScW_XkjVYrdwpm5iUahPDBCbuhIw==    [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:scrapers 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:annotations read:remotes write:remotes read:replications write:replications]
      
      
      simatecS Offline
      simatecS Offline
      simatec
      Developer Most Active
      schrieb am zuletzt editiert von
      #98

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

      0c561c6ff19d0000 Markus 0c52172c23814000 Markus's Recovery Token yaNHdwh6KjzO0euGPkiyhVon1uZKN4tuqaDAUL4tvVKIz14-4A-_0ZIsP9ScW_XkjVYrdwpm5iUahPDBCbuhIw==

      Hier ist dein neuer Operatortoken... Den fügst du in Backitup ein und bitte nie wieder löschen

      • Besuche meine Github Seite
      • Beitrag hat geholfen oder willst du mich unterstützen
      • HowTo Restore ioBroker
      W 2 Antworten Letzte Antwort
      0
      • simatecS simatec

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

        0c561c6ff19d0000 Markus 0c52172c23814000 Markus's Recovery Token yaNHdwh6KjzO0euGPkiyhVon1uZKN4tuqaDAUL4tvVKIz14-4A-_0ZIsP9ScW_XkjVYrdwpm5iUahPDBCbuhIw==

        Hier ist dein neuer Operatortoken... Den fügst du in Backitup ein und bitte nie wieder löschen

        W Offline
        W Offline
        Willi-Wunder
        schrieb am zuletzt editiert von Willi-Wunder
        #99
        [DEBUG] [influxDB] - InfluxDB-Backup started ...
        [DEBUG] [influxDB] - Start InfluxDB Backup ...
        [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
        [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_12_27-00_30_36_backupiobroker"
        [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_12_27-00_30_36_backupiobroker" successfully deleted
        [DEBUG] [influxDB] - 
        [ERROR] [influxDB] - Error: Command failed: influx backup --bucket Iobroker -t yaNHdwh6KjzO0euGPkiyhVon1uZKN4tuqaDAUL4tvVKIz14-4A-_0ZIsP9ScW_XkjVYrdwpm5iUahPDBCbuhIw== "/opt/iobroker/backups/influxDB_2023_12_27-00_30_36_backupiobroker"
        Error: API compatibility check failed: Get "http://localhost:8086/health": dial tcp [::1]:8086: connect: connection refused
        
        [DEBUG] [influxDB] - InfluxDB-Backup for is finish
        [DEBUG] [influxDB] - done
        

        Warte, doof, influxDb war nicht gestartet, glaube jetzt läuft es......

        [DEBUG] [influxDB] - InfluxDB-Backup started ...
        [DEBUG] [influxDB] - Start InfluxDB Backup ...
        [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
        [DEBUG] [influxDB] - Packed 71MB so far...
        [DEBUG] [influxDB] - Packed 144MB so far...
        [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2023_12_27-00_34_14_backupiobroker.tar.gz
        [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_12_27-00_34_14_backupiobroker"
        [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_12_27-00_34_14_backupiobroker" successfully deleted
        [DEBUG] [influxDB] - InfluxDB-Backup for is finish
        [DEBUG] [influxDB] - done
        
        simatecS 1 Antwort Letzte Antwort
        0
        • W Willi-Wunder
          [DEBUG] [influxDB] - InfluxDB-Backup started ...
          [DEBUG] [influxDB] - Start InfluxDB Backup ...
          [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
          [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_12_27-00_30_36_backupiobroker"
          [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_12_27-00_30_36_backupiobroker" successfully deleted
          [DEBUG] [influxDB] - 
          [ERROR] [influxDB] - Error: Command failed: influx backup --bucket Iobroker -t yaNHdwh6KjzO0euGPkiyhVon1uZKN4tuqaDAUL4tvVKIz14-4A-_0ZIsP9ScW_XkjVYrdwpm5iUahPDBCbuhIw== "/opt/iobroker/backups/influxDB_2023_12_27-00_30_36_backupiobroker"
          Error: API compatibility check failed: Get "http://localhost:8086/health": dial tcp [::1]:8086: connect: connection refused
          
          [DEBUG] [influxDB] - InfluxDB-Backup for is finish
          [DEBUG] [influxDB] - done
          

          Warte, doof, influxDb war nicht gestartet, glaube jetzt läuft es......

          [DEBUG] [influxDB] - InfluxDB-Backup started ...
          [DEBUG] [influxDB] - Start InfluxDB Backup ...
          [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
          [DEBUG] [influxDB] - Packed 71MB so far...
          [DEBUG] [influxDB] - Packed 144MB so far...
          [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2023_12_27-00_34_14_backupiobroker.tar.gz
          [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2023_12_27-00_34_14_backupiobroker"
          [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_12_27-00_34_14_backupiobroker" successfully deleted
          [DEBUG] [influxDB] - InfluxDB-Backup for is finish
          [DEBUG] [influxDB] - done
          
          simatecS Offline
          simatecS Offline
          simatec
          Developer Most Active
          schrieb am zuletzt editiert von
          #100

          @willi-wunder jup jetzt passt alles

          • Besuche meine Github Seite
          • Beitrag hat geholfen oder willst du mich unterstützen
          • HowTo Restore ioBroker
          1 Antwort Letzte Antwort
          0
          • simatecS simatec

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

            0c561c6ff19d0000 Markus 0c52172c23814000 Markus's Recovery Token yaNHdwh6KjzO0euGPkiyhVon1uZKN4tuqaDAUL4tvVKIz14-4A-_0ZIsP9ScW_XkjVYrdwpm5iUahPDBCbuhIw==

            Hier ist dein neuer Operatortoken... Den fügst du in Backitup ein und bitte nie wieder löschen

            W Offline
            W Offline
            Willi-Wunder
            schrieb am zuletzt editiert von
            #101

            @simatec
            @Thomas-Braun
            Herzlichen Dank für eure Unterstützung :+1: :+1: :+1:
            Wenn Ihr mal Schreinertechnische Fragen habt, gerne an mich wenden :grinning:

            Der Token ist jetzt in KeePass gespeichert und geht nie wieder verloren.
            Kann man noch etwas bereinigen von der DB1.x damit das System sauber ist? Hatte diese nur zum Testen mal auf Buster installiert gehabt, verwendet habe ich da gar nix. Fange jetzt ganz neu damit an, bisher die Daten alle in History gehabt.

            Den anderen beiden API Token in InfluxDB brauche ich die noch? Löschen oder behalten? "Iobroker" war der erste API Token.

            simatecS 1 Antwort Letzte Antwort
            0
            • W Willi-Wunder

              @simatec
              @Thomas-Braun
              Herzlichen Dank für eure Unterstützung :+1: :+1: :+1:
              Wenn Ihr mal Schreinertechnische Fragen habt, gerne an mich wenden :grinning:

              Der Token ist jetzt in KeePass gespeichert und geht nie wieder verloren.
              Kann man noch etwas bereinigen von der DB1.x damit das System sauber ist? Hatte diese nur zum Testen mal auf Buster installiert gehabt, verwendet habe ich da gar nix. Fange jetzt ganz neu damit an, bisher die Daten alle in History gehabt.

              Den anderen beiden API Token in InfluxDB brauche ich die noch? Löschen oder behalten? "Iobroker" war der erste API Token.

              simatecS Offline
              simatecS Offline
              simatec
              Developer Most Active
              schrieb am zuletzt editiert von
              #102

              @willi-wunder dein System sollte jetzt soweit sauber sein ... Die Token lass einfach drin ... schadet nicht

              • Besuche meine Github Seite
              • Beitrag hat geholfen oder willst du mich unterstützen
              • HowTo Restore ioBroker
              W 1 Antwort Letzte Antwort
              0
              • simatecS simatec

                @willi-wunder dein System sollte jetzt soweit sauber sein ... Die Token lass einfach drin ... schadet nicht

                W Offline
                W Offline
                Willi-Wunder
                schrieb am zuletzt editiert von Willi-Wunder
                #103

                @simatec
                Eine Frage noch, bei installed steht jetzt none...... paßt das so? War ja weiter oben schon mal auf installed gestanden......

                pi@iobroker:~ $ apt policy influxdb2-cli
                influxdb2-cli:
                  Installed: (none)
                  Candidate: 2.7.3-1
                  Version table:
                     2.7.3-1 500
                        500 https://repos.influxdata.com/debian stable/main arm64 Packages
                     2.7.1-2 500
                        500 https://repos.influxdata.com/debian stable/main arm64 Packages
                     2.6.1 500
                        500 https://repos.influxdata.com/debian stable/main arm64 Packages
                     2.6.0 500
                        500 https://repos.influxdata.com/debian stable/main arm64 Packages
                     2.5.0 500
                        500 https://repos.influxdata.com/debian stable/main arm64 Packages
                     2.4.0 500
                        500 https://repos.influxdata.com/debian stable/main arm64 Packages
                     2.3.0 500
                        500 https://repos.influxdata.com/debian stable/main arm64 Packages
                
                
                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • W Willi-Wunder

                  @simatec
                  Eine Frage noch, bei installed steht jetzt none...... paßt das so? War ja weiter oben schon mal auf installed gestanden......

                  pi@iobroker:~ $ apt policy influxdb2-cli
                  influxdb2-cli:
                    Installed: (none)
                    Candidate: 2.7.3-1
                    Version table:
                       2.7.3-1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.7.1-2 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.6.1 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.6.0 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.5.0 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.4.0 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                       2.3.0 500
                          500 https://repos.influxdata.com/debian stable/main arm64 Packages
                  
                  
                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #104

                  @willi-wunder

                  Schau dir alles an:

                  apt policy influx*
                  

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  W 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @willi-wunder

                    Schau dir alles an:

                    apt policy influx*
                    
                    W Offline
                    W Offline
                    Willi-Wunder
                    schrieb am zuletzt editiert von Willi-Wunder
                    #105

                    @thomas-braun
                    Okay, kannst du mir dann sagen was der Unterschied zwischen influxdb2-cli und influxdb2-client ist?

                    pi@iobroker:~ $ apt policy influx*
                    influxdb2-cli:
                      Installed: (none)
                      Candidate: 2.7.3-1
                      Version table:
                         2.7.3-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.1-2 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.6.1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.6.0 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.5.0 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.4.0 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.3.0 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                    influxdb-client:
                      Installed: (none)
                      Candidate: 1.6.7~rc0-1+b13
                      Version table:
                         1.6.7~rc0-1+b13 500
                            500 http://deb.debian.org/debian bookworm/main arm64 Packages
                    influxdb-dev:
                      Installed: (none)
                      Candidate: (none)
                      Version table:
                    influxdb2-client:
                      Installed: 2.7.1-1
                      Candidate: 2.7.1-1
                      Version table:
                     *** 2.7.1-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                            100 /var/lib/dpkg/status
                    influxdb:
                      Installed: (none)
                      Candidate: 1.8.10-1
                      Version table:
                         1.8.10-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         1.6.7~rc0-1+b13 500
                            500 http://deb.debian.org/debian bookworm/main arm64 Packages
                    influxctl:
                      Installed: (none)
                      Candidate: 2.4.2
                      Version table:
                         2.4.2 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.4.1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.4.0 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.3.1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.3.0 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.2.0 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.1.0 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.0.4 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.0.3 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.0.2 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.0.1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.0.0 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                    influxdb2:
                      Installed: 2.7.4-1
                      Candidate: 2.7.4-1
                      Version table:
                     *** 2.7.4-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                            100 /var/lib/dpkg/status
                         2.7.3-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.1-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.7.0-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.6.1-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.6.0-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.5.1-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.4.0-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.3.0-1 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                         2.2.0 500
                            500 https://repos.influxdata.com/debian stable/main arm64 Packages
                    
                    

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

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

                    Ich dachte deswegen das noch etwas fehlt :dark_sunglasses:

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • W Willi-Wunder

                      @thomas-braun
                      Okay, kannst du mir dann sagen was der Unterschied zwischen influxdb2-cli und influxdb2-client ist?

                      pi@iobroker:~ $ apt policy influx*
                      influxdb2-cli:
                        Installed: (none)
                        Candidate: 2.7.3-1
                        Version table:
                           2.7.3-1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.7.1-2 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.6.1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.6.0 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.5.0 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.4.0 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.3.0 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                      influxdb-client:
                        Installed: (none)
                        Candidate: 1.6.7~rc0-1+b13
                        Version table:
                           1.6.7~rc0-1+b13 500
                              500 http://deb.debian.org/debian bookworm/main arm64 Packages
                      influxdb-dev:
                        Installed: (none)
                        Candidate: (none)
                        Version table:
                      influxdb2-client:
                        Installed: 2.7.1-1
                        Candidate: 2.7.1-1
                        Version table:
                       *** 2.7.1-1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                              100 /var/lib/dpkg/status
                      influxdb:
                        Installed: (none)
                        Candidate: 1.8.10-1
                        Version table:
                           1.8.10-1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           1.6.7~rc0-1+b13 500
                              500 http://deb.debian.org/debian bookworm/main arm64 Packages
                      influxctl:
                        Installed: (none)
                        Candidate: 2.4.2
                        Version table:
                           2.4.2 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.4.1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.4.0 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.3.1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.3.0 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.2.0 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.1.0 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.0.4 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.0.3 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.0.2 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.0.1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.0.0 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                      influxdb2:
                        Installed: 2.7.4-1
                        Candidate: 2.7.4-1
                        Version table:
                       *** 2.7.4-1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                              100 /var/lib/dpkg/status
                           2.7.3-1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.7.1-1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.7.0-1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.6.1-1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.6.0-1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.5.1-1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.4.0-1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.3.0-1 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                           2.2.0 500
                              500 https://repos.influxdata.com/debian stable/main arm64 Packages
                      
                      

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

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

                      Ich dachte deswegen das noch etwas fehlt :dark_sunglasses:

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #106

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

                      influxdb2-client:
                      Installed: 2.7.1-1

                      influxdb2:
                      Installed: 2.7.4-1

                      Passt also.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      W 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

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

                        influxdb2-client:
                        Installed: 2.7.1-1

                        influxdb2:
                        Installed: 2.7.4-1

                        Passt also.

                        W Offline
                        W Offline
                        Willi-Wunder
                        schrieb am zuletzt editiert von
                        #107

                        @thomas-braun
                        Funktioniert ja jetzt auch alles, nochmals vielen Dank.

                        Will es aber jetzt auch verstehen. Die influxdb2-cli ist dann für was genau bestimmt?

                        Thomas BraunT Marc BergM 2 Antworten Letzte Antwort
                        0
                        • W Willi-Wunder

                          @thomas-braun
                          Funktioniert ja jetzt auch alles, nochmals vielen Dank.

                          Will es aber jetzt auch verstehen. Die influxdb2-cli ist dann für was genau bestimmt?

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von
                          #108

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

                          Die influxdb2-cli ist dann für was genau bestimmt?

                          Die genauen Unterschiede kenne ich auch nicht. Die Kernfunktionen werden aber von beiden Paketen wohl abgedeckt, weswegen die auch nicht parallel installiert sein können.

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          1 Antwort Letzte Antwort
                          0
                          • W Willi-Wunder

                            @thomas-braun
                            Funktioniert ja jetzt auch alles, nochmals vielen Dank.

                            Will es aber jetzt auch verstehen. Die influxdb2-cli ist dann für was genau bestimmt?

                            Marc BergM Offline
                            Marc BergM Offline
                            Marc Berg
                            Most Active
                            schrieb am zuletzt editiert von
                            #109

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

                            Die influxdb2-cli ist dann für was genau bestimmt?

                            Beide Pakete installieren das Kommandozeilen-Interface (CLI) für InfluxDB2 "influx", nichts weiter.
                            Das Paket "...-client" bringt dabei immer eine etwas aktuellere Version mit.
                            Da sich am Daten(Speicher-)format des InfluxDB2 schon ewig nichts mehr geändert hat, ist es für Backup-Zwecke eigentlich völlig irrelevant, welches Paket benutzt wird.
                            Wenn man auf Nummer sicher gehen will, nimmt man die "-cli", die ist meist "gut abgehangen".

                            NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+RabbitMQ+Grafana

                            Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

                            Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

                            W 1 Antwort Letzte Antwort
                            0
                            • Marc BergM Marc Berg

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

                              Die influxdb2-cli ist dann für was genau bestimmt?

                              Beide Pakete installieren das Kommandozeilen-Interface (CLI) für InfluxDB2 "influx", nichts weiter.
                              Das Paket "...-client" bringt dabei immer eine etwas aktuellere Version mit.
                              Da sich am Daten(Speicher-)format des InfluxDB2 schon ewig nichts mehr geändert hat, ist es für Backup-Zwecke eigentlich völlig irrelevant, welches Paket benutzt wird.
                              Wenn man auf Nummer sicher gehen will, nimmt man die "-cli", die ist meist "gut abgehangen".

                              W Offline
                              W Offline
                              Willi-Wunder
                              schrieb am zuletzt editiert von
                              #110

                              Vielen Dank für eure Infos, will ja auch etwas dazu lernen. Jetzt kommen die nächsten Schritte mit influxDB und Grafana......Vermutlich noch ein steiniger Weg, lach.

                              1 Antwort Letzte Antwort
                              0
                              • T Offline
                                T Offline
                                Taddy81
                                schrieb am zuletzt editiert von
                                #111

                                Re: mit backitup kein Influxdb und Grafana backup möglich

                                Guten Morgen, leider muss ich mich auch mit einem Problem an euch wenden.

                                Ich habe einen LXC Container unter Proxmox auf dem meine IOBroker und meine Influx (2) Instanz liegt.

                                Durch eure bisherige Hilfestellung konnte ich ein Backup meiner Daten durchführen. Importiere ich die Daten auf meiner neuen IO Broker Instanz werden aber keine Buckets angelegt.

                                Hier ein paar Ergbnisse der CLI:

                                influx auth list -t Jwn-2_-7uR4NIwCjEFvoxMCYzmSt2qLbfHR3yxpaqFKL9V_XAcWzuil5Tb1OpLiSlvOJ79yonzaWF1IIUPptkA== --json
                                [
                                        {
                                                "id": "0aa176f53b5ec000",
                                                "description": "admin's Token",
                                                "token": "oL0zQjQCzKLf0QThs2q-xjtIqpBVVsg7KwcA3lHuiwGL4KmtIaZzGt1AAUVOxA9kvmfkLVLRc8csjEqsv9s7PA==",
                                                "status": "active",
                                                "userName": "admin",
                                                "userID": "0aa176f5165ec000",
                                                "permissions": [
                                                        "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:/scrapers",
                                                        "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:/annotations",
                                                        "read:/remotes",
                                                        "write:/remotes",
                                                        "read:/replications",
                                                        "write:/replications"
                                                ]
                                        },
                                        {
                                                "id": "0aa178ecd3cac000",
                                                "description": "admin",
                                                "token": "Jwn-2_-7uR4NIwCjEFvoxMCYzmSt2qLbfHR3yxpaqFKL9V_XAcWzuil5Tb1OpLiSlvOJ79yonzaWF1IIUPptkA==",
                                                "status": "active",
                                                "userName": "admin",
                                                "userID": "0aa176f5165ec000",
                                                "permissions": [
                                                        "read:orgs/88eaca12149fac9e/authorizations",
                                                        "write:orgs/88eaca12149fac9e/authorizations",
                                                        "read:orgs/88eaca12149fac9e/buckets",
                                                        "write:orgs/88eaca12149fac9e/buckets",
                                                        "read:orgs/88eaca12149fac9e/dashboards",
                                                        "write:orgs/88eaca12149fac9e/dashboards",
                                                        "read:/orgs/88eaca12149fac9e",
                                                        "write:/orgs/88eaca12149fac9e",
                                                        "read:orgs/88eaca12149fac9e/sources",
                                                        "write:orgs/88eaca12149fac9e/sources",
                                                        "read:orgs/88eaca12149fac9e/tasks",
                                                        "write:orgs/88eaca12149fac9e/tasks",
                                                        "read:orgs/88eaca12149fac9e/telegrafs",
                                                        "write:orgs/88eaca12149fac9e/telegrafs",
                                                        "read:/users/0aa176f5165ec000",
                                                        "write:/users/0aa176f5165ec000",
                                                        "read:orgs/88eaca12149fac9e/variables",
                                                        "write:orgs/88eaca12149fac9e/variables",
                                                        "read:orgs/88eaca12149fac9e/scrapers",
                                                        "write:orgs/88eaca12149fac9e/scrapers",
                                                        "read:orgs/88eaca12149fac9e/secrets",
                                                        "write:orgs/88eaca12149fac9e/secrets",
                                                        "read:orgs/88eaca12149fac9e/labels",
                                                        "write:orgs/88eaca12149fac9e/labels",
                                                        "read:orgs/88eaca12149fac9e/views",
                                                        "write:orgs/88eaca12149fac9e/views",
                                                        "read:orgs/88eaca12149fac9e/documents",
                                                        "write:orgs/88eaca12149fac9e/documents",
                                                        "read:orgs/88eaca12149fac9e/notificationRules",
                                                        "write:orgs/88eaca12149fac9e/notificationRules",
                                                        "read:orgs/88eaca12149fac9e/notificationEndpoints",
                                                        "write:orgs/88eaca12149fac9e/notificationEndpoints",
                                                        "read:orgs/88eaca12149fac9e/checks",
                                                        "write:orgs/88eaca12149fac9e/checks",
                                                        "read:orgs/88eaca12149fac9e/dbrp",
                                                        "write:orgs/88eaca12149fac9e/dbrp",
                                                        "read:orgs/88eaca12149fac9e/notebooks",
                                                        "write:orgs/88eaca12149fac9e/notebooks",
                                                        "read:orgs/88eaca12149fac9e/annotations",
                                                        "write:orgs/88eaca12149fac9e/annotations",
                                                        "read:orgs/88eaca12149fac9e/remotes",
                                                        "write:orgs/88eaca12149fac9e/remotes",
                                                        "read:orgs/88eaca12149fac9e/replications",
                                                        "write:orgs/88eaca12149fac9e/replications"
                                                ]
                                        },
                                
                                

                                Mit Jwn habe ich immer gearbeitet, aber:

                                root@Influx:~# influx backup --bucket iobroker --host http://172.16.0.102:8086 -t Jwn-2_-7uR4NIwCjEFvoxMCYzmSt2qLbfHR3yxpaqFKL9V_XAcWzuil5Tb1OpLiSlvOJ79yonzaWF1IIUPptkA== "/tmp/influx-test"
                                2024/01/03 10:13:15 INFO: Downloading metadata snapshot
                                Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                

                                Mit oL0 funktioniert ein Export:

                                root@Influx:~# influx backup --bucket iobroker --host http://172.16.0.102:8086 -t oL0zQjQCzKLf0QThs2q-xjtIqpBVVsg7KwcA3lHuiwGL4KmtIaZzGt1AAUVOxA9kvmfkLVLRc8csjEqsv9s7PA== "/tmp/influx-test"
                                2024/01/03 10:39:21 INFO: Downloading metadata snapshot
                                2024/01/03 10:39:21 INFO: Backing up TSM for shard 4110
                                2024/01/03 10:39:21 WARN: Shard 4110 removed during backup
                                ....
                                

                                Log von BackitUp

                                Started iobroker ...
                                [DEBUG] [mount] - done
                                [DEBUG] [iobroker] - host.Influx 4335 states saved
                                
                                [DEBUG] [iobroker] - host.Influx 4958 objects saved
                                
                                [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2024_01_03-11_12_14_backupiobroker.tar.gz
                                
                                [DEBUG] [iobroker] - This backup can only be restored with js-controller version up from 4.1
                                
                                [DEBUG] [iobroker] - done
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_17_backupiobroker.tar.gz
                                [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_17_backupiobroker"
                                [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_17_backupiobroker" successfully deleted
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker.tar.gz
                                [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker"
                                [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker" successfully deleted
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker.tar.gz
                                [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker"
                                [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker" successfully deleted
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_20_backupiobroker.tar.gz
                                [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_20_backupiobroker"
                                [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_20_backupiobroker" successfully deleted
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_21_backupiobroker.tar.gz
                                [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_21_backupiobroker"
                                [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_21_backupiobroker" successfully deleted
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_26_backupiobroker.tar.gz
                                [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_26_backupiobroker"
                                [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_26_backupiobroker" successfully deleted
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_27_backupiobroker.tar.gz
                                [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_27_backupiobroker"
                                [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_27_backupiobroker" successfully deleted
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_28_backupiobroker.tar.gz
                                [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_28_backupiobroker"
                                [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_28_backupiobroker" successfully deleted
                                [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                [DEBUG] [influxDB] - done
                                [DEBUG] [cifs] - used copy path: /mnt/
                                [DEBUG] [cifs] - Copy iobroker_2024_01_03-11_12_14_backupiobroker.tar.gz...
                                [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_17_backupiobroker.tar.gz...
                                [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_19_backupiobroker.tar.gz...
                                [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_20_backupiobroker.tar.gz...
                                [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_21_backupiobroker.tar.gz...
                                [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_26_backupiobroker.tar.gz...
                                [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_27_backupiobroker.tar.gz...
                                [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_28_backupiobroker.tar.gz...
                                [DEBUG] [cifs] - done
                                [DEBUG] [clean] - No older backup files are deleted, because this backup was started manually
                                [DEBUG] [clean] - done
                                [DEBUG] [historyHTML] - new history html values created
                                [DEBUG] [historyHTML] - done
                                [DEBUG] [historyJSON] - new history json values created
                                [DEBUG] [historyJSON] - done
                                [DEBUG] [umount] - done
                                [EXIT] 0
                                

                                Lade ich nun die Influx Backups über die Backitup Oberfläche hoch, werden die Buckets nicht importiert

                                Proxmox 3Node Cluster, IOBroker in LXC

                                PV Visualisierung und Steuerung mit NodeRed und Grafana

                                simatecS Marc BergM 2 Antworten Letzte Antwort
                                0
                                • T Taddy81

                                  Re: mit backitup kein Influxdb und Grafana backup möglich

                                  Guten Morgen, leider muss ich mich auch mit einem Problem an euch wenden.

                                  Ich habe einen LXC Container unter Proxmox auf dem meine IOBroker und meine Influx (2) Instanz liegt.

                                  Durch eure bisherige Hilfestellung konnte ich ein Backup meiner Daten durchführen. Importiere ich die Daten auf meiner neuen IO Broker Instanz werden aber keine Buckets angelegt.

                                  Hier ein paar Ergbnisse der CLI:

                                  influx auth list -t Jwn-2_-7uR4NIwCjEFvoxMCYzmSt2qLbfHR3yxpaqFKL9V_XAcWzuil5Tb1OpLiSlvOJ79yonzaWF1IIUPptkA== --json
                                  [
                                          {
                                                  "id": "0aa176f53b5ec000",
                                                  "description": "admin's Token",
                                                  "token": "oL0zQjQCzKLf0QThs2q-xjtIqpBVVsg7KwcA3lHuiwGL4KmtIaZzGt1AAUVOxA9kvmfkLVLRc8csjEqsv9s7PA==",
                                                  "status": "active",
                                                  "userName": "admin",
                                                  "userID": "0aa176f5165ec000",
                                                  "permissions": [
                                                          "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:/scrapers",
                                                          "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:/annotations",
                                                          "read:/remotes",
                                                          "write:/remotes",
                                                          "read:/replications",
                                                          "write:/replications"
                                                  ]
                                          },
                                          {
                                                  "id": "0aa178ecd3cac000",
                                                  "description": "admin",
                                                  "token": "Jwn-2_-7uR4NIwCjEFvoxMCYzmSt2qLbfHR3yxpaqFKL9V_XAcWzuil5Tb1OpLiSlvOJ79yonzaWF1IIUPptkA==",
                                                  "status": "active",
                                                  "userName": "admin",
                                                  "userID": "0aa176f5165ec000",
                                                  "permissions": [
                                                          "read:orgs/88eaca12149fac9e/authorizations",
                                                          "write:orgs/88eaca12149fac9e/authorizations",
                                                          "read:orgs/88eaca12149fac9e/buckets",
                                                          "write:orgs/88eaca12149fac9e/buckets",
                                                          "read:orgs/88eaca12149fac9e/dashboards",
                                                          "write:orgs/88eaca12149fac9e/dashboards",
                                                          "read:/orgs/88eaca12149fac9e",
                                                          "write:/orgs/88eaca12149fac9e",
                                                          "read:orgs/88eaca12149fac9e/sources",
                                                          "write:orgs/88eaca12149fac9e/sources",
                                                          "read:orgs/88eaca12149fac9e/tasks",
                                                          "write:orgs/88eaca12149fac9e/tasks",
                                                          "read:orgs/88eaca12149fac9e/telegrafs",
                                                          "write:orgs/88eaca12149fac9e/telegrafs",
                                                          "read:/users/0aa176f5165ec000",
                                                          "write:/users/0aa176f5165ec000",
                                                          "read:orgs/88eaca12149fac9e/variables",
                                                          "write:orgs/88eaca12149fac9e/variables",
                                                          "read:orgs/88eaca12149fac9e/scrapers",
                                                          "write:orgs/88eaca12149fac9e/scrapers",
                                                          "read:orgs/88eaca12149fac9e/secrets",
                                                          "write:orgs/88eaca12149fac9e/secrets",
                                                          "read:orgs/88eaca12149fac9e/labels",
                                                          "write:orgs/88eaca12149fac9e/labels",
                                                          "read:orgs/88eaca12149fac9e/views",
                                                          "write:orgs/88eaca12149fac9e/views",
                                                          "read:orgs/88eaca12149fac9e/documents",
                                                          "write:orgs/88eaca12149fac9e/documents",
                                                          "read:orgs/88eaca12149fac9e/notificationRules",
                                                          "write:orgs/88eaca12149fac9e/notificationRules",
                                                          "read:orgs/88eaca12149fac9e/notificationEndpoints",
                                                          "write:orgs/88eaca12149fac9e/notificationEndpoints",
                                                          "read:orgs/88eaca12149fac9e/checks",
                                                          "write:orgs/88eaca12149fac9e/checks",
                                                          "read:orgs/88eaca12149fac9e/dbrp",
                                                          "write:orgs/88eaca12149fac9e/dbrp",
                                                          "read:orgs/88eaca12149fac9e/notebooks",
                                                          "write:orgs/88eaca12149fac9e/notebooks",
                                                          "read:orgs/88eaca12149fac9e/annotations",
                                                          "write:orgs/88eaca12149fac9e/annotations",
                                                          "read:orgs/88eaca12149fac9e/remotes",
                                                          "write:orgs/88eaca12149fac9e/remotes",
                                                          "read:orgs/88eaca12149fac9e/replications",
                                                          "write:orgs/88eaca12149fac9e/replications"
                                                  ]
                                          },
                                  
                                  

                                  Mit Jwn habe ich immer gearbeitet, aber:

                                  root@Influx:~# influx backup --bucket iobroker --host http://172.16.0.102:8086 -t Jwn-2_-7uR4NIwCjEFvoxMCYzmSt2qLbfHR3yxpaqFKL9V_XAcWzuil5Tb1OpLiSlvOJ79yonzaWF1IIUPptkA== "/tmp/influx-test"
                                  2024/01/03 10:13:15 INFO: Downloading metadata snapshot
                                  Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                  

                                  Mit oL0 funktioniert ein Export:

                                  root@Influx:~# influx backup --bucket iobroker --host http://172.16.0.102:8086 -t oL0zQjQCzKLf0QThs2q-xjtIqpBVVsg7KwcA3lHuiwGL4KmtIaZzGt1AAUVOxA9kvmfkLVLRc8csjEqsv9s7PA== "/tmp/influx-test"
                                  2024/01/03 10:39:21 INFO: Downloading metadata snapshot
                                  2024/01/03 10:39:21 INFO: Backing up TSM for shard 4110
                                  2024/01/03 10:39:21 WARN: Shard 4110 removed during backup
                                  ....
                                  

                                  Log von BackitUp

                                  Started iobroker ...
                                  [DEBUG] [mount] - done
                                  [DEBUG] [iobroker] - host.Influx 4335 states saved
                                  
                                  [DEBUG] [iobroker] - host.Influx 4958 objects saved
                                  
                                  [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2024_01_03-11_12_14_backupiobroker.tar.gz
                                  
                                  [DEBUG] [iobroker] - This backup can only be restored with js-controller version up from 4.1
                                  
                                  [DEBUG] [iobroker] - done
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                  [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                  [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                  [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_17_backupiobroker.tar.gz
                                  [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_17_backupiobroker"
                                  [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_17_backupiobroker" successfully deleted
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                  [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                  [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                  [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker.tar.gz
                                  [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker"
                                  [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker" successfully deleted
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                  [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                  [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                  [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker.tar.gz
                                  [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker"
                                  [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker" successfully deleted
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                  [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                  [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                  [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_20_backupiobroker.tar.gz
                                  [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_20_backupiobroker"
                                  [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_20_backupiobroker" successfully deleted
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                  [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                  [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                  [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_21_backupiobroker.tar.gz
                                  [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_21_backupiobroker"
                                  [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_21_backupiobroker" successfully deleted
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                  [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                  [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                  [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_26_backupiobroker.tar.gz
                                  [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_26_backupiobroker"
                                  [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_26_backupiobroker" successfully deleted
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                  [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                  [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                  [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_27_backupiobroker.tar.gz
                                  [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_27_backupiobroker"
                                  [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_27_backupiobroker" successfully deleted
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                  [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                  [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                  [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_28_backupiobroker.tar.gz
                                  [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_28_backupiobroker"
                                  [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_28_backupiobroker" successfully deleted
                                  [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                  [DEBUG] [influxDB] - done
                                  [DEBUG] [cifs] - used copy path: /mnt/
                                  [DEBUG] [cifs] - Copy iobroker_2024_01_03-11_12_14_backupiobroker.tar.gz...
                                  [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_17_backupiobroker.tar.gz...
                                  [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_19_backupiobroker.tar.gz...
                                  [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_20_backupiobroker.tar.gz...
                                  [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_21_backupiobroker.tar.gz...
                                  [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_26_backupiobroker.tar.gz...
                                  [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_27_backupiobroker.tar.gz...
                                  [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_28_backupiobroker.tar.gz...
                                  [DEBUG] [cifs] - done
                                  [DEBUG] [clean] - No older backup files are deleted, because this backup was started manually
                                  [DEBUG] [clean] - done
                                  [DEBUG] [historyHTML] - new history html values created
                                  [DEBUG] [historyHTML] - done
                                  [DEBUG] [historyJSON] - new history json values created
                                  [DEBUG] [historyJSON] - done
                                  [DEBUG] [umount] - done
                                  [EXIT] 0
                                  

                                  Lade ich nun die Influx Backups über die Backitup Oberfläche hoch, werden die Buckets nicht importiert

                                  simatecS Offline
                                  simatecS Offline
                                  simatec
                                  Developer Most Active
                                  schrieb am zuletzt editiert von
                                  #112

                                  @taddy81 was meinst du genau mit hochladen? Laut Log werden deine Backups mit der Auswahl des richtigen Operator Token korrekt erstellt.

                                  Beim „hochladen“ weiß ich nicht, was du da genau meinst

                                  • Besuche meine Github Seite
                                  • Beitrag hat geholfen oder willst du mich unterstützen
                                  • HowTo Restore ioBroker
                                  T 1 Antwort Letzte Antwort
                                  0
                                  • T Taddy81

                                    Re: mit backitup kein Influxdb und Grafana backup möglich

                                    Guten Morgen, leider muss ich mich auch mit einem Problem an euch wenden.

                                    Ich habe einen LXC Container unter Proxmox auf dem meine IOBroker und meine Influx (2) Instanz liegt.

                                    Durch eure bisherige Hilfestellung konnte ich ein Backup meiner Daten durchführen. Importiere ich die Daten auf meiner neuen IO Broker Instanz werden aber keine Buckets angelegt.

                                    Hier ein paar Ergbnisse der CLI:

                                    influx auth list -t Jwn-2_-7uR4NIwCjEFvoxMCYzmSt2qLbfHR3yxpaqFKL9V_XAcWzuil5Tb1OpLiSlvOJ79yonzaWF1IIUPptkA== --json
                                    [
                                            {
                                                    "id": "0aa176f53b5ec000",
                                                    "description": "admin's Token",
                                                    "token": "oL0zQjQCzKLf0QThs2q-xjtIqpBVVsg7KwcA3lHuiwGL4KmtIaZzGt1AAUVOxA9kvmfkLVLRc8csjEqsv9s7PA==",
                                                    "status": "active",
                                                    "userName": "admin",
                                                    "userID": "0aa176f5165ec000",
                                                    "permissions": [
                                                            "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:/scrapers",
                                                            "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:/annotations",
                                                            "read:/remotes",
                                                            "write:/remotes",
                                                            "read:/replications",
                                                            "write:/replications"
                                                    ]
                                            },
                                            {
                                                    "id": "0aa178ecd3cac000",
                                                    "description": "admin",
                                                    "token": "Jwn-2_-7uR4NIwCjEFvoxMCYzmSt2qLbfHR3yxpaqFKL9V_XAcWzuil5Tb1OpLiSlvOJ79yonzaWF1IIUPptkA==",
                                                    "status": "active",
                                                    "userName": "admin",
                                                    "userID": "0aa176f5165ec000",
                                                    "permissions": [
                                                            "read:orgs/88eaca12149fac9e/authorizations",
                                                            "write:orgs/88eaca12149fac9e/authorizations",
                                                            "read:orgs/88eaca12149fac9e/buckets",
                                                            "write:orgs/88eaca12149fac9e/buckets",
                                                            "read:orgs/88eaca12149fac9e/dashboards",
                                                            "write:orgs/88eaca12149fac9e/dashboards",
                                                            "read:/orgs/88eaca12149fac9e",
                                                            "write:/orgs/88eaca12149fac9e",
                                                            "read:orgs/88eaca12149fac9e/sources",
                                                            "write:orgs/88eaca12149fac9e/sources",
                                                            "read:orgs/88eaca12149fac9e/tasks",
                                                            "write:orgs/88eaca12149fac9e/tasks",
                                                            "read:orgs/88eaca12149fac9e/telegrafs",
                                                            "write:orgs/88eaca12149fac9e/telegrafs",
                                                            "read:/users/0aa176f5165ec000",
                                                            "write:/users/0aa176f5165ec000",
                                                            "read:orgs/88eaca12149fac9e/variables",
                                                            "write:orgs/88eaca12149fac9e/variables",
                                                            "read:orgs/88eaca12149fac9e/scrapers",
                                                            "write:orgs/88eaca12149fac9e/scrapers",
                                                            "read:orgs/88eaca12149fac9e/secrets",
                                                            "write:orgs/88eaca12149fac9e/secrets",
                                                            "read:orgs/88eaca12149fac9e/labels",
                                                            "write:orgs/88eaca12149fac9e/labels",
                                                            "read:orgs/88eaca12149fac9e/views",
                                                            "write:orgs/88eaca12149fac9e/views",
                                                            "read:orgs/88eaca12149fac9e/documents",
                                                            "write:orgs/88eaca12149fac9e/documents",
                                                            "read:orgs/88eaca12149fac9e/notificationRules",
                                                            "write:orgs/88eaca12149fac9e/notificationRules",
                                                            "read:orgs/88eaca12149fac9e/notificationEndpoints",
                                                            "write:orgs/88eaca12149fac9e/notificationEndpoints",
                                                            "read:orgs/88eaca12149fac9e/checks",
                                                            "write:orgs/88eaca12149fac9e/checks",
                                                            "read:orgs/88eaca12149fac9e/dbrp",
                                                            "write:orgs/88eaca12149fac9e/dbrp",
                                                            "read:orgs/88eaca12149fac9e/notebooks",
                                                            "write:orgs/88eaca12149fac9e/notebooks",
                                                            "read:orgs/88eaca12149fac9e/annotations",
                                                            "write:orgs/88eaca12149fac9e/annotations",
                                                            "read:orgs/88eaca12149fac9e/remotes",
                                                            "write:orgs/88eaca12149fac9e/remotes",
                                                            "read:orgs/88eaca12149fac9e/replications",
                                                            "write:orgs/88eaca12149fac9e/replications"
                                                    ]
                                            },
                                    
                                    

                                    Mit Jwn habe ich immer gearbeitet, aber:

                                    root@Influx:~# influx backup --bucket iobroker --host http://172.16.0.102:8086 -t Jwn-2_-7uR4NIwCjEFvoxMCYzmSt2qLbfHR3yxpaqFKL9V_XAcWzuil5Tb1OpLiSlvOJ79yonzaWF1IIUPptkA== "/tmp/influx-test"
                                    2024/01/03 10:13:15 INFO: Downloading metadata snapshot
                                    Error: failed to backup metadata: failed to download metadata snapshot: 401 Unauthorized: read:authorizations is unauthorized
                                    

                                    Mit oL0 funktioniert ein Export:

                                    root@Influx:~# influx backup --bucket iobroker --host http://172.16.0.102:8086 -t oL0zQjQCzKLf0QThs2q-xjtIqpBVVsg7KwcA3lHuiwGL4KmtIaZzGt1AAUVOxA9kvmfkLVLRc8csjEqsv9s7PA== "/tmp/influx-test"
                                    2024/01/03 10:39:21 INFO: Downloading metadata snapshot
                                    2024/01/03 10:39:21 INFO: Backing up TSM for shard 4110
                                    2024/01/03 10:39:21 WARN: Shard 4110 removed during backup
                                    ....
                                    

                                    Log von BackitUp

                                    Started iobroker ...
                                    [DEBUG] [mount] - done
                                    [DEBUG] [iobroker] - host.Influx 4335 states saved
                                    
                                    [DEBUG] [iobroker] - host.Influx 4958 objects saved
                                    
                                    [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2024_01_03-11_12_14_backupiobroker.tar.gz
                                    
                                    [DEBUG] [iobroker] - This backup can only be restored with js-controller version up from 4.1
                                    
                                    [DEBUG] [iobroker] - done
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                    [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                    [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                    [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_17_backupiobroker.tar.gz
                                    [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_17_backupiobroker"
                                    [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_17_backupiobroker" successfully deleted
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                    [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                    [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                    [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker.tar.gz
                                    [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker"
                                    [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker" successfully deleted
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                    [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                    [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                    [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker.tar.gz
                                    [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker"
                                    [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_19_backupiobroker" successfully deleted
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                    [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                    [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                    [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_20_backupiobroker.tar.gz
                                    [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_20_backupiobroker"
                                    [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_20_backupiobroker" successfully deleted
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                    [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                    [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                    [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_21_backupiobroker.tar.gz
                                    [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_21_backupiobroker"
                                    [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_21_backupiobroker" successfully deleted
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                    [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                    [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                    [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_26_backupiobroker.tar.gz
                                    [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_26_backupiobroker"
                                    [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_26_backupiobroker" successfully deleted
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                    [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                    [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                    [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_27_backupiobroker.tar.gz
                                    [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_27_backupiobroker"
                                    [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_27_backupiobroker" successfully deleted
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is started ...
                                    [DEBUG] [influxDB] - Start InfluxDB Backup ...
                                    [DEBUG] [influxDB] - InfluxDB Backup tmp directory created 
                                    [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2024_01_03-11_12_28_backupiobroker.tar.gz
                                    [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory: "/opt/iobroker/backups/influxDB_2024_01_03-11_12_28_backupiobroker"
                                    [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2024_01_03-11_12_28_backupiobroker" successfully deleted
                                    [DEBUG] [influxDB] - InfluxDB-Backup for  is finish
                                    [DEBUG] [influxDB] - done
                                    [DEBUG] [cifs] - used copy path: /mnt/
                                    [DEBUG] [cifs] - Copy iobroker_2024_01_03-11_12_14_backupiobroker.tar.gz...
                                    [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_17_backupiobroker.tar.gz...
                                    [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_19_backupiobroker.tar.gz...
                                    [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_20_backupiobroker.tar.gz...
                                    [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_21_backupiobroker.tar.gz...
                                    [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_26_backupiobroker.tar.gz...
                                    [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_27_backupiobroker.tar.gz...
                                    [DEBUG] [cifs] - Copy influxDB_2024_01_03-11_12_28_backupiobroker.tar.gz...
                                    [DEBUG] [cifs] - done
                                    [DEBUG] [clean] - No older backup files are deleted, because this backup was started manually
                                    [DEBUG] [clean] - done
                                    [DEBUG] [historyHTML] - new history html values created
                                    [DEBUG] [historyHTML] - done
                                    [DEBUG] [historyJSON] - new history json values created
                                    [DEBUG] [historyJSON] - done
                                    [DEBUG] [umount] - done
                                    [EXIT] 0
                                    

                                    Lade ich nun die Influx Backups über die Backitup Oberfläche hoch, werden die Buckets nicht importiert

                                    Marc BergM Offline
                                    Marc BergM Offline
                                    Marc Berg
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #113

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

                                    Lade ich nun die Influx Backups über die Backitup Oberfläche hoch, werden die Buckets nicht importiert

                                    Ich gehe davon aus, dass du die Daten auf der neuen Instanz wiederherstellen willst, richtig?

                                    Wenn du dort die InfluxDB neu installiert hast, benötigt du auch den Operator-Token der neuen DB. Das dürfte ein anderer sein, wenn du nicht den alten explizit beim Setup der DB angegeben hast.

                                    NUC10I3+Ubuntu+Docker+ioBroker+influxDB2+Node Red+RabbitMQ+Grafana

                                    Pi-hole, Traefik, Checkmk, Conbee II+Zigbee2MQTT, ESPSomfy-RTS, LoRaWAN, Arduino, KiCad

                                    Benutzt das Voting im Beitrag, wenn er euch geholfen hat.

                                    1 Antwort Letzte Antwort
                                    0
                                    • simatecS simatec

                                      @taddy81 was meinst du genau mit hochladen? Laut Log werden deine Backups mit der Auswahl des richtigen Operator Token korrekt erstellt.

                                      Beim „hochladen“ weiß ich nicht, was du da genau meinst

                                      T Offline
                                      T Offline
                                      Taddy81
                                      schrieb am zuletzt editiert von
                                      #114

                                      @simatec

                                      Danke für deine Antwort.

                                      Irgendwie habe ich nun alles zerschossen, ich habe die Backup Dateien über die GUI hochgeladen und diese dann über "Sicherung abrufen" hochgeladen.
                                      Nachdem ich dies gemacht habe, war in der Influx Datenbank kein Bucket hinzugefügt.

                                      Anschließend habe ich noch ein paar Influx Backups hochgeladen um diese nochmals Wiederherzustellen, aber nun läuft bei "Sicherung abrufen" nur ein blauer Balken oben durch, aber es erscheinen keine Backups mehr

                                      Upload.jpg

                                      Wo finde ich denn unter SSH die Uploads auf der 2. Instanz?
                                      Ein find / -name ".tar.gz" ergibt kein Ergebnis

                                      Proxmox 3Node Cluster, IOBroker in LXC

                                      PV Visualisierung und Steuerung mit NodeRed und Grafana

                                      simatecS 1 Antwort Letzte Antwort
                                      0
                                      • T Taddy81

                                        @simatec

                                        Danke für deine Antwort.

                                        Irgendwie habe ich nun alles zerschossen, ich habe die Backup Dateien über die GUI hochgeladen und diese dann über "Sicherung abrufen" hochgeladen.
                                        Nachdem ich dies gemacht habe, war in der Influx Datenbank kein Bucket hinzugefügt.

                                        Anschließend habe ich noch ein paar Influx Backups hochgeladen um diese nochmals Wiederherzustellen, aber nun läuft bei "Sicherung abrufen" nur ein blauer Balken oben durch, aber es erscheinen keine Backups mehr

                                        Upload.jpg

                                        Wo finde ich denn unter SSH die Uploads auf der 2. Instanz?
                                        Ein find / -name ".tar.gz" ergibt kein Ergebnis

                                        simatecS Offline
                                        simatecS Offline
                                        simatec
                                        Developer Most Active
                                        schrieb am zuletzt editiert von
                                        #115

                                        @taddy81 schau mal…
                                        https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-für-ioBroker.backitup#influxdb2-restore

                                        Damit sollte es funktionieren. Wichtig ist der richtige Operator Token deiner neuen Influx Installation

                                        • Besuche meine Github Seite
                                        • Beitrag hat geholfen oder willst du mich unterstützen
                                        • HowTo Restore ioBroker
                                        T 1 Antwort Letzte Antwort
                                        0
                                        • simatecS simatec

                                          @taddy81 schau mal…
                                          https://github.com/simatec/ioBroker.backitup/wiki/Diverse-Anleitungen-für-ioBroker.backitup#influxdb2-restore

                                          Damit sollte es funktionieren. Wichtig ist der richtige Operator Token deiner neuen Influx Installation

                                          T Offline
                                          T Offline
                                          Taddy81
                                          schrieb am zuletzt editiert von
                                          #116

                                          @simatec

                                          Komme leider nicht weiter...

                                          Ich habe nun eine InfluxDB importieren wollen und bin auch nach deiner Anleitung vorgegangen.

                                          Ich habe die Organisation in Influx gleich benannt, war das nun richtig? Den Admin Token der NEUEN Influx Installation habe ich dann in die 3 Influx Instanzen geschrieben, nach einem Wiederherstellen erhalte ich folgende Fehlermeldung

                                          Started restore ...
                                          [DEBUG] [influxDB] - Created tmp directory
                                          [DEBUG] [influxDB] - Start infuxDB Restore ...
                                          [ERROR] [influxDB] - Error: failed to check existence of organization "homelab": 401 Unauthorized: unauthorized access
                                          
                                          [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
                                          
                                          oot@Influx2:~# influx auth list -t   r6cDtTGWFJR5UJe-jtnDkwdkHtYUPfrU25OU4Lb1rRxTEaA-vqdNZETg1MxoL3w0wTLnaNiLT4lPSzveAhkDEA== --json
                                          [
                                                  {
                                                          "id": "0c5feb1b8e1fb000",
                                                          "description": "admin's Token",
                                                          "token": "r6cDtTGWFJR5UJe-jtnDkwdkHtYUPfrU25OU4Lb1rRxTEaA-vqdNZETg1MxoL3w0wTLnaNiLT4lPSzveAhkDEA==",
                                                          "status": "active",
                                                          "userName": "admin",
                                                          "userID": "0c5feb1b389fb000",
                                                          "permissions": [
                                                                  "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:/scrapers",
                                                                  "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:/annotations",
                                                                  "read:/remotes",
                                                                  "write:/remotes",
                                                                  "read:/replications",
                                                                  "write:/replications"
                                                          ]
                                                  }
                                          ]
                                          
                                          

                                          Und eine Frage für später, die Daten dieser 3 Influxinstanzen werden täglich in jeweils ein Langzeitbucket mit niedriger Auflösung geschrieben, ich nehme an, dass ich nur InfluxDatenbanken wiederherstellen kann, die auch in IOBroker eine Instanz haben?

                                          Proxmox 3Node Cluster, IOBroker in LXC

                                          PV Visualisierung und Steuerung mit NodeRed und Grafana

                                          simatecS 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          707

                                          Online

                                          32.5k

                                          Benutzer

                                          81.6k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe