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 last edited by MCU

      @simatec Einstellungsfrage:
      Welcher Token gehört hier hinein?
      9905c716-7b2e-4c3f-83de-e48d84291a69-image.png
      c9ff6782-8d6a-47f7-9650-da6b02ea726b-image.png

      User-Token?
      699f0c7b-7c52-4872-a760-0ed4c60d8aed-image.png
      Wo hole ich den InfluxDB-Datenbank-Token?

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

        @mcu Dir fehlen die Influx-cli
        https://github.com/simatec/ioBroker.backitup/wiki/ioBroker.backitup-Wiki-Deutsch#influxdb-backup

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

          @simatec
          Ich habe es jetzt nach Anleitung installiert, bekomme aber den gleichen Fehler, auch nach Neustart von influx und Instanz (backitup)? Muss man noch was machen?

          prox@influxdb:~$ apt policy influxdb-client influxdb2-cli
          influxdb-client:
            Installed: (none)
            Candidate: 1.6.7~rc0-1+b5
            Version table:
               1.6.7~rc0-1+b5 500
                  500 http://ftp.debian.org/debian bullseye/main amd64 Packages
          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

            @mcu

            Hast du denn auch influxdb2?

            apt policy influxdb*
            

            zeigt mehr.

            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:

              apt policy influxdb*

              apt policy influxdb*
              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'
              N: Unable to locate package influxdb2-client-2.3.0-linux-amd64.tar.gz
              N: Couldn't find any package by glob 'influxdb2-client-2.3.0-linux-amd64.tar.gz'
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @MCU last edited by Thomas Braun

                @mcu

                Dann hast du dir irgendwas irgendwie am Paketmanager vorbei ins System geprügelt.

                Sauber sähe das so aus:

                echad@chet:/opt/iobroker $ apt policy influxdb*
                influxdb2-cli:
                  Installed: (none)
                  Candidate: 2.3.0
                  Version table:
                     2.3.0 500
                        500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                influxdb-client:
                  Installed: (none)
                  Candidate: 1.6.7~rc0-1+b5
                  Version table:
                     1.6.7~rc0-1+b5 500
                        500 http://deb.debian.org/debian bullseye/main arm64 Packages
                influxdb-dev:
                  Installed: (none)
                  Candidate: (none)
                  Version table:
                influxdb:
                  Installed: (none)
                  Candidate: 1.8.10-1
                  Version table:
                     1.8.10-1 500
                        500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                     1.6.7~rc0-1+b5 500
                        500 http://deb.debian.org/debian bullseye/main arm64 Packages
                influxdb2:
                  Installed: (none)
                  Candidate: 2.3.0-1
                  Version table:
                     2.3.0-1 500
                        500 https://repos.influxdata.com/debian bullseye/stable arm64 Packages
                
                M 1 Reply Last reply Reply Quote 0
                • M
                  MCU @Thomas Braun last edited by

                  @thomas-braun

                  wget https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.3.0-linux-amd64.tar.gz
                  --2022-07-10 19:41:36--  https://dl.influxdata.com/influxdb/releases/influxdb2-client-2.3.0-linux-amd64.tar.gz
                  Resolving dl.influxdata.com (dl.influxdata.com)... 54.230.206.23, 54.230.206.30, 54.230.206.53, ...
                  Connecting to dl.influxdata.com (dl.influxdata.com)|54.230.206.23|:443... connected.
                  HTTP request sent, awaiting response... 200 OK
                  Length: 5350662 (5.1M) [application/x-gzip]
                  Saving to: 'influxdb2-client-2.3.0-linux-amd64.tar.gz'
                  
                  influxdb2-client-2.3.0-linux-amd64.tar.gz  100%[=======================================================================================>]   5.10M  --.-KB/s    in 0.1s    
                  
                  2022-07-10 19:41:36 (34.4 MB/s) - 'influxdb2-client-2.3.0-linux-amd64.tar.gz' saved [5350662/5350662]
                  
                  prox@influxdb:~$ tar xvzf ./influxdb2-client-2.3.0-linux-amd64.tar.gz
                  influxdb2-client-2.3.0-linux-amd64/LICENSE
                  influxdb2-client-2.3.0-linux-amd64/README.md
                  influxdb2-client-2.3.0-linux-amd64/influx
                  prox@influxdb:~$ sudo cp influxdb2-client-2.3.0-linux-amd64/influx /usr/local/bin/
                  
                  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.
                  
                  [sudo] password for prox: 
                  prox@influxdb:~$ 
                  
                  Thomas Braun simatec 2 Replies Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @MCU last edited by

                    @mcu

                    Macht man ja auch nicht so.

                    M 1 Reply Last reply Reply Quote 0
                    • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            602
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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