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

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Test Adapter ioBroker.backitup v3.1.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                              • M
                                MCU @Thomas Braun last edited by

                                @thomas-braun

                                which influx
                                /usr/bin/influx
                                
                                1 Reply Last reply Reply Quote 0
                                • M
                                  MCU @simatec last edited by MCU

                                  @simatec
                                  3e10cb7f-7876-4483-989f-101caf9c425a-image.png
                                  32b6c16b-1aa2-418b-b273-e605cd3764c2-image.png
                                  9d7e265b-d19b-4e8a-b48e-7f252c51fe33-image.png

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

                                    @mcu

                                    rm influxdb2*
                                    apt policy influxdb*
                                    
                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      MCU @Thomas Braun last edited by MCU

                                      @thomas-braun sagte in Test Adapter ioBroker.backitup v2.4.x:

                                      rm influxdb2*

                                      rm influxdb2*
                                      rm: cannot remove 'influxdb2-client-2.3.0-linux-amd64': Is a directory
                                      

                                      mit sudo?

                                      apt policy influxdb*
                                      N: Unable to locate package influxdb.key
                                      N: Couldn't find any package by glob 'influxdb.key'
                                      N: Unable to locate package influxdb2-client-2.3.0-linux-amd64
                                      N: Couldn't find any package by glob 'influxdb2-client-2.3.0-linux-amd64'
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @MCU last edited by

                                        @mcu

                                        ls -la
                                        

                                        Und bitte vollständige Ein- wie Ausgabezeilen inkl. LogIn-Prompt, damit ich sehe wo du da im Tree stehst.

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

                                          @thomas-braun sagte in Test Adapter ioBroker.backitup v2.4.x:

                                          ls -la

                                          prox@influxdb:~$ ls -la
                                          total 32
                                          drwxr-xr-x 3 prox prox 4096 Jul 10 20:41 .
                                          drwxr-xr-x 3 root root 4096 Jun 26 07:23 ..
                                          -rw------- 1 prox prox 1297 Jul 10 20:37 .bash_history
                                          -rw-r--r-- 1 prox prox  220 Jun 26 07:23 .bash_logout
                                          -rw-r--r-- 1 prox prox 3526 Jun 26 07:23 .bashrc
                                          -rw-r--r-- 1 prox prox  807 Jun 26 07:23 .profile
                                          -rw-r--r-- 1 prox prox 3108 May  4  2021 influxdb.key
                                          drwxr-xr-x 2 prox prox 4096 Jul 10 19:42 influxdb2-client-2.3.0-linux-amd64
                                          prox@influxdb:~$ 
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @MCU last edited by Thomas Braun

                                            @mcu

                                            rm -rf influx*

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            554
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            backitup backitup backup ccu history mysql redis restore restore backup
                                            168
                                            2706
                                            1731365
                                            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