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.
    • 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
                        • simatec
                          simatec Developer Most Active @Taddy81 last edited by

                          @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 1 Reply Last reply Reply Quote 0
                          • Marc Berg
                            Marc Berg Most Active @Taddy81 last edited by

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

                            1 Reply Last reply Reply Quote 0
                            • T
                              Taddy81 @simatec last edited by

                              @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

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

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

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

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

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

                                    [ERROR] [influxDB] - Error: failed to check existence of organization "homelab": 401 Unauthorized: unauthorized access

                                    Auch Backitup benötigt den Admin Token

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      toki1973 @simatec last edited by

                                      Ich habe bei mir in einer eigenen Instanz influx Version1.7.10 installiert. Wie komme ich denn an den Operator Token damit das Backitup funktioniert.

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

                                        @toki1973 InfluxDB 1.x benötigt keinen Token
                                        https://github.com/simatec/ioBroker.backitup/wiki/ioBroker.backitup-Wiki-Deutsch#influxdb-backup

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        813
                                        Online

                                        31.6k
                                        Users

                                        79.6k
                                        Topics

                                        1.3m
                                        Posts

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