Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    mit backitup kein Influxdb und Grafana backup möglich

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Willi-Wunder @simatec last edited by

      @simatec
      sudo influxd recovery auth create-operator --org my-org --username Markus --bolt-path /var/lib/influxdb2/influxd.bolt

      Die Zeichen "<>" werden ja weggelassen. Was habe ich noch falsch gemacht?

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

        @willi-wunder

        find / -name influxd.bolt
        
        1 Reply Last reply Reply Quote 0
        • W
          Willi-Wunder @simatec last edited by

          Du hast mit großer Wahrscheinlichkeit von einer influxdb 1.x migriert und deshalb passt der Pfad nicht

          Vermutlich dann eher aus dem einspielen vom Backup. Hatte auf dem neuen System alles neu installiert gehabt, aber dann wird das vermutlich so sein.

          1 Reply Last reply Reply Quote 0
          • W
            Willi-Wunder last edited by 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
            
            W simatec 2 Replies Last reply Reply Quote 0
            • W
              Willi-Wunder @Willi-Wunder last edited by

              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]
              
              
              simatec 1 Reply Last reply Reply Quote 0
              • simatec
                simatec Developer Most Active @Willi-Wunder last edited by

                @willi-wunder

                sudo ls -lah /var/lib/influxdb2
                sudo ls -lah /var/lib/influxdb/influxd.bolt
                
                1 Reply Last reply Reply Quote 0
                • simatec
                  simatec Developer Most Active @Willi-Wunder last edited by

                  @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 2 Replies Last reply Reply Quote 0
                  • W
                    Willi-Wunder @simatec last edited by 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
                    
                    simatec 1 Reply Last reply Reply Quote 0
                    • simatec
                      simatec Developer Most Active @Willi-Wunder last edited by

                      @willi-wunder jup jetzt passt alles

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

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

                        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.

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

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

                          W 1 Reply Last reply Reply Quote 0
                          • W
                            Willi-Wunder @simatec last edited by 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 Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Willi-Wunder last edited by

                              @willi-wunder

                              Schau dir alles an:

                              apt policy influx*
                              
                              W 1 Reply Last reply Reply Quote 0
                              • W
                                Willi-Wunder @Thomas Braun last edited by 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 🕶

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

                                  @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 1 Reply Last reply Reply Quote 0
                                  • W
                                    Willi-Wunder @Thomas Braun last edited by

                                    @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 Braun Marc Berg 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Willi-Wunder last edited by

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

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

                                        @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 1 Reply Last reply Reply Quote 0
                                        • W
                                          Willi-Wunder @Marc Berg last edited by

                                          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 Reply Last reply Reply Quote 0
                                          • T
                                            Taddy81 last edited by

                                            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

                                            simatec Marc Berg 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            972
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

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