Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter ioBroker.backitup v3.1.x

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Test Adapter ioBroker.backitup v3.1.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MCU @Thomas Braun last edited by MCU

      @thomas-braun Steht aber so dort:
      https://docs.influxdata.com/influxdb/v2.3/tools/influx-cli/?t=Linux
      Wie sonst?

      Thomas Braun simatec 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @MCU last edited by

        @mcu

        Da steht aber auch, wie man sich deren Repo anlacht.
        Software unter Debian wird (zu 99,9%) IMMER über den Paketmanager installiert. Auch influx.

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

          @mcu leg die mal in /usr/bin
          Bei einigen Systemen wird usr/local/bin nicht richtig erkannt

          M 1 Reply Last reply Reply Quote 0
          • M
            MCU @simatec last edited by

            @simatec Bringt keinen Unterschied.

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

              @thomas-braun Kannst du mal bitte in Backitup ein Issue anlegen, wie man über Paketmanager die influx-cli installiert
              Also speziell für influxdb2.

              Dann passe ich die Doku an.
              Damals gab es noch kein offizielles Paket

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

                @mcu

                https://docs.influxdata.com/influxdb/v1.8/introduction/install/

                Leg dir das Repo an, da ist auch influxdb2 drin. Und dann installierst du das sauber.

                Und kratz das wieder aus /usr/local/bin raus.

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

                  @mcu
                  Was kommt denn, wenn du influx in der Konsole aufrufst?

                  M 1 Reply Last reply Reply Quote 0
                  • M
                    MCU @simatec last edited by

                    @simatec

                    influx
                    NAME:
                       influx - Influx Client
                    
                    USAGE:
                       influx [command]
                    
                    COMMANDS:
                       version              Print the influx CLI version
                       write                Write points to InfluxDB
                       bucket               Bucket management commands
                       completion           Generates completion scripts
                       query                Execute a Flux query
                       config               Config management commands
                       org, organization    Organization management commands
                       delete               Delete points from InfluxDB
                       user                 User management commands
                       task                 Task management commands
                       telegrafs            List Telegraf configuration(s). Subcommands manage Telegraf configurations.
                       dashboards           List Dashboard(s).
                       export               Export existing resources as a template
                       secret               Secret management commands
                       v1                   InfluxDB v1 management commands
                       auth, authorization  Authorization management commands
                       apply                Apply a template to manage resources
                       stacks               List stack(s) and associated templates. Subcommands manage stacks.
                       template             Summarize the provided template
                       bucket-schema        Bucket schema management commands
                       ping                 Check the InfluxDB /health endpoint
                       setup                Setup instance with initial user, org, bucket
                       backup               Backup database
                       restore              Restores a backup directory to InfluxDB
                       remote               Remote connection management commands
                       replication          Replication stream management commands
                       server-config        Display server config
                       help, h              Shows a list of commands or help for one command
                    
                    GLOBAL OPTIONS:
                       --help, -h  show help
                    
                    simatec 1 Reply Last reply Reply Quote 0
                    • simatec
                      simatec Developer Most Active @MCU last edited by

                      @mcu na geht doch.
                      Dan sollte es auch in Backitup gehen.
                      Falls die influx aus irgend einem Grund von Backitup nicht gefunden wird, trage den kompletten Pfad in der Config ein

                      M 1 Reply Last reply Reply Quote 0
                      • M
                        MCU @simatec last edited by

                        @simatec So?
                        9092a109-cb4a-4535-9ff2-32b97a2e3d67-image.png

                        Thomas Braun simatec 2 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @MCU last edited by

                          @mcu

                          Ich würde es über den Paketmanager machen. Das fällt dir früher oder später sonst wieder auf die Füße.

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

                            @thomas-braun Da fehlt mir das Wissen. Wie gehe ich über den Paketmanager?

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

                              @mcu

                              Repo anlegen:

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

                              Dann das übliche Installations-Prozedere:

                              sudo apt update
                              sudo apt install PAKETNAME
                              
                              M 1 Reply Last reply Reply Quote 0
                              • M
                                MCU @Thomas Braun last edited by

                                @thomas-braun Das habe ich doch bei der Installation von influxdb2 schon so gemacht?

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

                                  @mcu

                                  Und warum installierst du dann den client nicht auch daraus?
                                  Stattdessen verhunzt du dir die dpkg-Datenbank.

                                  apt policy influxdb2-cli
                                  

                                  bringt?

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

                                    @thomas-braun So?

                                    sudo apt update && sudo apt install influxdb2-cli                                                                                                
                                    Get:1 http://security.debian.org bullseye-security InRelease [44.1 kB]
                                    Get:2 http://ftp.debian.org/debian bullseye InRelease [116 kB]                                                                        
                                    Get:3 https://repos.influxdata.com/debian stable InRelease [4645 B]                                                                             
                                    Get:4 http://ftp.debian.org/debian bullseye-updates InRelease [39.4 kB]                                       
                                    Get:5 http://security.debian.org bullseye-security/main amd64 Packages [164 kB]
                                    Get:6 https://repos.influxdata.com/debian stable/main amd64 Packages [1263 B]
                                    Get:7 http://security.debian.org bullseye-security/main Translation-en [103 kB]
                                    Get:8 http://ftp.debian.org/debian bullseye/main amd64 Packages [8182 kB]
                                    Get:9 http://ftp.debian.org/debian bullseye/main Translation-en [6243 kB]
                                    Get:10 http://ftp.debian.org/debian bullseye/contrib amd64 Packages [50.6 kB]
                                    Get:11 http://ftp.debian.org/debian bullseye/contrib Translation-en [46.9 kB]
                                    Fetched 15.0 MB in 2s (7736 kB/s)                            
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    12 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                    N: Repository 'http://ftp.debian.org/debian bullseye InRelease' changed its 'Version' value from '11.3' to '11.4'
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    influxdb2-cli is already the newest version (2.3.0).
                                    0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
                                    

                                    apt policy influxdb2-cli

                                    apt policy influxdb2-cli
                                    influxdb2-cli:
                                      Installed: 2.3.0
                                      Candidate: 2.3.0
                                      Version table:
                                     *** 2.3.0 500
                                            500 https://repos.influxdata.com/debian stable/main amd64 Packages
                                            100 /var/lib/dpkg/status
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @MCU last edited by Thomas Braun

                                      @mcu sagte in Test Adapter ioBroker.backitup v2.4.x:

                                      influxdb2-cli is already the newest version (2.3.0).

                                      ist also bereits installiert.

                                      which influx
                                      

                                      liefert?

                                      Hau die 12 Updates rein...

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

                                        @thomas-braun

                                        sudo apt update                       
                                        [sudo] password for prox: 
                                        Hit:1 http://ftp.debian.org/debian bullseye InRelease
                                        Hit:2 http://security.debian.org bullseye-security InRelease        
                                        Hit:3 http://ftp.debian.org/debian bullseye-updates InRelease       
                                        Hit:4 https://repos.influxdata.com/debian stable InRelease
                                        Reading package lists... Done
                                        Building dependency tree... Done
                                        Reading state information... Done
                                        All packages are up to date.
                                        
                                        which influx
                                        /usr/local/bin/influx
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @MCU last edited by Thomas Braun

                                          @mcu sagte in Test Adapter ioBroker.backitup v2.4.x:

                                          /usr/local/bin/influx

                                          sudo rm /usr/local/bin/influx
                                          exit
                                          

                                          Wieder einloggen und dann nochmal

                                          which influx
                                          

                                          Und warum hast du nodejs nicht als Repo? Das ist wichtig! (Ah, das ist nicht die Dose mit dem ioBroker...)

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

                                            @mcu nich influxd … nur influx

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            898
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup backitup backup ccu history mysql redis restore restore backup
                                            169
                                            2766
                                            2217722
                                            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