Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Influxdb2 Backitup

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Influxdb2 Backitup

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

      @marc-berg ja soweit das mit meinen begrenzten Fähigkeiten möglich ist.Es erklärt natürlich dann warum es im selben Container funktioniert hat

      Marc Berg 1 Reply Last reply Reply Quote 0
      • keksn
        keksn @Marc Berg last edited by

        @marc-bergsudo

        nur die CLI nein muss ich erst ,mal lesen

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

          @keksn sagte in Influxdb2 Backitup:

          @marc-berg ja soweit das mit meinen begrenzten Fähigkeiten möglich ist.Es erklärt natürlich dann warum es im selben Container funktioniert hat

          Ich würde es so machen:

          wget -q https://repos.influxdata.com/influxdata-archive_compat.key
          cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
          echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
          sudo apt update
          sudo apt install influxdb2-cli
          
          keksn 2 Replies Last reply Reply Quote 1
          • keksn
            keksn @Marc Berg last edited by

            @marc-berg danke verkürzt die Recherche

            1 Reply Last reply Reply Quote 0
            • keksn
              keksn @Marc Berg last edited by

              @marc-berg sagte in Influxdb2 Backitup:

              @keksn sagte in Influxdb2 Backitup:

              @marc-berg ja soweit das mit meinen begrenzten Fähigkeiten möglich ist.Es erklärt natürlich dann warum es im selben Container funktioniert hat

              Ich würde es so machen:

              wget -q https://repos.influxdata.com/influxdata-archive_compat.key
              cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
              echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
              sudo apt update
              sudo apt install influxdb2-cli
              
              [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_04_16-16_35_19_backupiobroker"
              [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_04_16-16_35_19_backupiobroker" successfully deleted
              [DEBUG] [influxDB] - 
              [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobrokerneu --host http://192.168.1.180:8088 -t MnAMLBIYNXn0e3Jmq07UKhQGbbgIOI706dB4oVS5D3GEDufcNVyiqQEEAqmALEvoKyxNaE8lHNfLp0WrsSJpWg== "/opt/iobroker/backups/influxDB_2023_04_16-16_35_19_backupiobroker"
              Error: API compatibility check failed: Get "http://192.168.1.180:8088/health": dial tcp 192.168.1.180:8088: connect: connection refused
              
              
              Marc Berg 1 Reply Last reply Reply Quote 0
              • Marc Berg
                Marc Berg Most Active @keksn last edited by Marc Berg

                @keksn sagte in Influxdb2 Backitup:

                tcp 192.168.1.180:8088: connect: connection refused

                Jo, cli ist jetzt richtig installiert, allerdings hast Du jetzt ein Netzwerk Problem. Bei Proxmox bin ich da aber raus.

                tcp 192.168.1.180:8088: connect: connection refused
                
                keksn 1 Reply Last reply Reply Quote 0
                • keksn
                  keksn @Glasfaser last edited by

                  @glasfaser sagte in Influxdb2 Backitup:

                  @keksn sagte in

                  es kommt bei mir da immer zu Fehlern.

                  denke aber nicht Du hast sooo viel Zeit mit mir die Installationsfehler durchzugehen

                  und ohne grundlegenen Infos wie Logs kann man dir nicht helfen !

                  So geht schon mal los im neuen Container beim Begin der Installation lt. Influxdb

                  keksn@influxdb3:~$ wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.0-xxx.deb
                  sudo dpkg -i influxdb2-2.7.0-amd64.deb
                  --2023-04-16 14:37:17--  https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.0-xxx.deb
                  Resolving dl.influxdata.com (dl.influxdata.com)... 13.32.110.116, 13.32.110.90, 13.32.110.87, ...
                  Connecting to dl.influxdata.com (dl.influxdata.com)|13.32.110.116|:443... connected.
                  HTTP request sent, awaiting response... 404 Not Found
                  2023-04-16 14:37:18 ERROR 404: Not Found.
                  
                  
                  We trust you have received the usual lecture from the local System
                  Administrator. It usually boils down to these three things:
                  
                      #1) Respect the privacy of others.
                      #2) Think before you type.
                      #3) With great power comes great responsibility.
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • keksn
                    keksn @Marc Berg last edited by

                    @marc-berg sagte in Influxdb2 Backitup:

                    ei Proxmox bin ich da aber raus.

                    Hab schon gesehen das ich da in das nächste Problem geschlittert bin. Danke für Deine Hilfe!

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

                      @keksn sagte in Influxdb2 Backitup:

                      wget https://dl.influxdata.com/influxdb/releases/influxdb2-2.7.0-xxx.deb

                      Sorry...
                      Aber hast du eben nicht gelernt, das man Software so eben NICHT installiert sondern NUR und AUSSCHLIESSLICH über den Paketmanager?

                      Kannste direkt wieder wie oben reparieren. Ich bin da aber jetzt raus...

                      keksn 1 Reply Last reply Reply Quote 0
                      • keksn
                        keksn @Thomas Braun last edited by

                        @thomas-braun sagte in Influxdb2 Backitup:

                        h bin da aber jetzt raus...

                        Wie installiert man über den Paketmanager ? Ich habe einen CT mit einem Debian Template in Proxmox erstellt und lt. der Beschreibung auf der Influxdb Homepage begonnen zu Installieren... das zum Thema es ist einfach

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

                          @keksn

                          Siehe oben.

                          keksn 1 Reply Last reply Reply Quote 0
                          • keksn
                            keksn @Thomas Braun last edited by

                            @thomas-braun

                            Der "*" bleibt bei Influx oder ist der durch "2" zu ersetzen?

                            sudo apt update
                            apt policy influxdb*
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @keksn last edited by

                              @keksn

                              Mit apt policy schaust du nur, was da jetzt in den Repos liegt.
                              Dürfte nur die debian-Version des Paketes sein, weil ja das influx-Repo wohl noch nicht angelegt wurde.

                              keksn 1 Reply Last reply Reply Quote 0
                              • keksn
                                keksn @Thomas Braun last edited by

                                @thomas-braun

                                ich habe jetzt wieder einen neuen Container mit Debian 11.

                                Ich beginne jetzt mit

                                rm influxdb2*
                                rm /etc/apt/sources.list.d/influx*
                                sudo apt update
                                

                                ?

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

                                  @keksn sagte in Influxdb2 Backitup:

                                  rm /etc/apt/sources.list.d/influx*

                                  Dann gibt es da diese Dateien auch noch nicht. Kannste also weglassen.
                                  Das Repo legt man so an (Übrigens von der influxdb-Webseite kopiert):

                                  wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                                  echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
                                  echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                                  sudo apt update
                                  

                                  Dann sollte auch bei

                                  apt policy influxdb*
                                  

                                  neues im Regal liegen.

                                  keksn 2 Replies Last reply Reply Quote 0
                                  • keksn
                                    keksn @Thomas Braun last edited by

                                    @thomas-braun

                                    ja das hab ich auch schon gemacht...

                                    keksn@influxdb3:~$ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                                    echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
                                    echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                                    sudo apt update
                                    influxdata-archive_compat.key: OK
                                    -bash: gpg: command not found
                                    deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
                                    Hit:1 http://security.debian.org bullseye-security InRelease
                                    Get:2 https://repos.influxdata.com/debian stable InRelease [6883 B]                          
                                    Hit:3 http://deb.debian.org/debian bullseye InRelease                                        
                                    Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
                                    Err:2 https://repos.influxdata.com/debian stable InRelease
                                      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                    Reading package lists... Done
                                    W: GPG error: https://repos.influxdata.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                    E: The repository 'https://repos.influxdata.com/debian stable InRelease' is not signed.
                                    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                    N: See apt-secure(8) manpage for repository creation and user configuration details.
                                    keksn@influxdb3:~$ 
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • keksn
                                      keksn @Thomas Braun last edited by

                                      @thomas-braun

                                      so wurde es vorher installiert

                                      wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                                      
                                      
                                      echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                                      
                                      
                                      cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null 
                                      
                                      apt update && apt install influxdb2
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @keksn last edited by

                                        @keksn

                                        Dann mach es danach nochmal.

                                        keksn 1 Reply Last reply Reply Quote 0
                                        • keksn
                                          keksn @Thomas Braun last edited by

                                          @thomas-braun

                                          dachte es war falsch installiert....

                                          1 Reply Last reply Reply Quote -1
                                          • Damrak2022
                                            Damrak2022 last edited by Damrak2022

                                            @thomas-braun Ich habe gerade bei meinem Backitup alles eingerichtet und ein manuelles Backup angestoßen. Nun bekomme ich da aber folgenden Fehler:

                                            Started iobroker ...
                                            [DEBUG] [iobroker] - host.homebridge 18347 states saved
                                            
                                            [DEBUG] [iobroker] - host.homebridge 24913 objects saved
                                            
                                            [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2023_04_19-18_33_26_backupiobroker.tar.gz
                                            
                                            [DEBUG] [iobroker] - done
                                            [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_04_19-18_33_52_backupiobroker"
                                            [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_04_19-18_33_52_backupiobroker" successfully deleted
                                            [DEBUG] [influxDB] - 
                                            [ERROR] [influxDB] - Error: Command failed: influxd backup -portable -database iobroker "/opt/iobroker/backups/influxDB_2023_04_19-18_33_52_backupiobroker"
                                            Error: unknown shorthand flag: 'p' in -portable
                                            See 'influxd -h' for help
                                            

                                            Hier die Einstellungen des Adapters:
                                            Bildschirmfoto 2023-04-19 um 18.40.49.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            846
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            214
                                            16191
                                            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