Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Hilfe beim Einrichten von InfluxDB und BackItUp

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Hilfe beim Einrichten von InfluxDB und BackItUp

    This topic has been deleted. Only users with topic management privileges can see it.
    • DJMarc75
      DJMarc75 @Berlon last edited by

      @berlon

      sudo apt install influxdb
      

      auf Deinem Hauptsystem ausführen (Brocker) 😙

      B 1 Reply Last reply Reply Quote 0
      • B
        Berlon @DJMarc75 last edited by

        Ok, gemacht. Influxdb wurde nun auch auf dem Iobroker Installiert.
        Habe auch den InfluxDB-client installiert.
        Backup läuft nicht durch

        Started iobroker ...
        [DEBUG] [mount] - mount activ... umount is started before mount!!
        [DEBUG] [mount] - umount successfully completed
        [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.6.10:/volume1/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups"
        [DEBUG] [mount] - mount successfully completed
        [DEBUG] [mount] - done
        [DEBUG] [iobroker] - host.ioBroker 2801 states saved
        
        [DEBUG] [iobroker] - host.ioBroker 3529 objects saved
        
        [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_09_11-18_43_01_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
        [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
        [DEBUG] [influxDB] - Usage of influx:
          -version
               Display the version and exit.
          -host 'host name'
               Host to connect to.
          -port 'port #'
               Port to connect to.
          -socket 'unix domain socket'
               Unix socket to connect to.
          -database 'database name'
               Database to connect to the server.
          -password 'password'
              Password to connect to the server.  Leaving blank will prompt for password (--password '').
          -username 'username'
               Username to connect to the server.
          -ssl
                Use https for requests.
          -unsafeSsl
                Set this when connecting to the cluster using https and not use SSL verification.
          -execute 'command'
               Execute command and quit.
          -format 'json|csv|column'
               Format specifies the format of the server responses:  json, csv, or column.
          -precision 'rfc3339|h|m|s|ms|u|ns'
               Precision specifies the format of the timestamp:  rfc3339, h, m, s, ms, u or ns.
          -consistency 'any|one|quorum|all'
               Set write consistency level: any, one, quorum, or all
          -pretty
               Turns on pretty print for the json format.
          -import
               Import a previous database export from file
          -pps
               How many points per second the import will allow.  By default it is zero and will not throttle importing.
          -path
               Path to file to import
          -compressed
               Set to true if the import file is compressed
        
        Examples:
        
            # Use influx in a non-interactive mode to query the database "metrics" and pretty print json:
            $ influx -database 'metrics' -execute 'select * from cpu' -format 'json' -pretty
        
            # Connect to a specific database on startup and set database context:
            $ influx -database 'metrics' -host 'localhost' -port '8086'
        
        [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker --host http://192.168.6.52:8086 -t v-yX0W1sADx9HEy9z_WFV-d1ffBEI56ANPkB0KYmuyBtPKSvslG2PZO6LvhnhNHq2sGtvIpcI4KtKjyXV8pOOw== "/opt/iobroker/backups/influxDB_2022_09_11-18_43_06_backupiobroker"
        unknown arguments: backup --bucket iobroker --host http://192.168.6.52:8086 -t v-************************************** /opt/iobroker/backups/influxDB_2022_09_11-18_43_06_backupiobroker
        

        Was muss nun in dieser InfluxDB konfiguriert werden.
        Ich verstehe es nicht...........................................

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

          @berlon

          Was hast du denn da jetzt installiert?
          Auf beiden Systemen:

          apt policy influxdb*
          
          B 2 Replies Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 last edited by

            @berlon sagte in BackItUp macht Ärger:

            Ich verstehe es nicht...........................................

            bitte weniger "Frustrations-Satzzeichen" verwenden - danke !

            Eben gelesen dass Du da mit ProxDings unterwegs bist...
            schau mal bitte ob das hilft ...
            https://github.com/simatec/ioBroker.backitup/issues/390
            Keine Ahnung aber da wird halt das System erwähnt

            kilasat created this issue in simatec/ioBroker.backitup

            closed Backup InfluxDB mit Error #390

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

              @berlon Du musst influxdb2-cli auf dem System installieren, auf dem dein iobroker läuft.
              Steht auch in der Doku ...
              Von daher finde ich den Titel deines Threads sehr fraglich ...

              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 install influxdb2-cli
              
              1 Reply Last reply Reply Quote 1
              • Homoran
                Homoran Global Moderator Administrators @Berlon last edited by

                @berlon sagte in BackItUp macht Ärger:

                noch nie hatte ich solche Probleme den Broker aufzusetzten.

                Ich denke eher dass du mit den Containern und deren Spezialitäten nicht firm bist.

                mit ioBroker hat das nichts zu tun!
                Jetzt da die Schuld zu suchen ist nicht fair.

                B 1 Reply Last reply Reply Quote 2
                • B
                  Berlon @Homoran last edited by

                  Danke für die ganzen Hinweise.
                  Mit der Containergeschichte bin ich am lernen.
                  Ich habe es für mich momentan so gelöst das Proxmox von den 2 Container
                  nachts täglich ein Backup erstellt. Auf der Synology ist jedenfalls
                  genug Platz.
                  Die Hinweise werde ich noch alle durchlesen und umsetzen.

                  Es wird auf jeden Fall noch weiter gelernt 🙂

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

                    @thomas-braun
                    auf dem ioBroker:

                    pi@ioBroker:~$ apt policy influxdb*
                    influxdb-client:
                      Installed: 1.6.7~rc0-1
                      Candidate: 1.6.7~rc0-1
                      Version table:
                     *** 1.6.7~rc0-1 500
                            500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
                            100 /var/lib/dpkg/status
                    influxdb-dev:
                      Installed: (none)
                      Candidate: (none)
                      Version table:
                    influxdb:
                      Installed: 1.6.7~rc0-1
                      Candidate: 1.6.7~rc0-1
                      Version table:
                     *** 1.6.7~rc0-1 500
                            500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
                            100 /var/lib/dpkg/status
                    pi@ioBroker:~$
                    

                    auf der InfluxDB:

                    root@InfluxDB-Grafana:/# apt policy influxdb*
                    influxdb2-cli:
                      Installed: 2.4.0
                      Candidate: 2.4.0
                      Version table:
                     *** 2.4.0 500
                            500 https://repos.influxdata.com/debian stable/main amd64 Packages
                            100 /var/lib/dpkg/status
                    influxdb-client:
                      Installed: (none)
                      Candidate: 1.6.7~rc0-1
                      Version table:
                         1.6.7~rc0-1 500
                            500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 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 stable/main amd64 Packages
                         1.6.7~rc0-1 500
                            500 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages
                    influxdb2:
                      Installed: 2.4.0-1
                      Candidate: 2.4.0-1
                      Version table:
                     *** 2.4.0-1 500
                            500 https://repos.influxdata.com/debian stable/main amd64 Packages
                            100 /var/lib/dpkg/status
                    root@InfluxDB-Grafana:/# 
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Berlon last edited by Thomas Braun

                      @berlon

                      Ich vermute ganz stark, dass du mit den Tools von influxdb1 keine Schnitte haben wirst bei einer influxdb2.

                      Den Hinweis auf: "Hampel NICHT als root herum!" hast du bestimmt schon mal gelesen?

                      Darüberhinaus vermute ich ebenfalls, dass es für 'jammy' ein eigenes Repository für influxdb2 geben wird. Richte das gescheit ein.

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

                        @thomas-braun
                        hm. Hast Recht.
                        Den neuen Nutzer in der Influx anlegen habe ich vergessen.
                        Kann ich den noch nachträglich anlegen oder ist das Kind schon in den Brunnen gefallen.
                        Wenn ja - wird Influx neu gemacht.

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

                          @berlon

                          Wie user in Container gestopft werden sollte man wissen, wenn man die Dinger einsetzt. Ist absoutes Basiswissen, imho.

                          Die influxdb.list-Datei sollte jedenfalls so aussehen:

                          deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/ubuntu stable main
                          
                          B 1 Reply Last reply Reply Quote 0
                          • B
                            Berlon @Thomas Braun last edited by

                            @thomas-braun
                            eine Ubuntu bekomme ich nicht installiert da Ubuntu bei der Auswahl eines Reproservers diese nicht findet.
                            Versuche noch herauszufinden woran das liegt.
                            Und Debian installiert mir gleich den Desktop mit. Den brauche aber nicht und habe
                            auch nicht herausgefunden wie ich das unterbinden kann.

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

                              @berlon sagte in BackItUp macht Ärger:

                              Versuche noch herauszufinden woran das liegt.

                              Fehlermeldungen wären hilfreich.
                              Und der Inhalt der entsprechenden influxdb.list oder wie die Datei genau heißt.
                              Und da du ja ubuntu fährst ist debian weitgehend uninteressant.

                              1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators last edited by

                                Da das Thema nichts mit ioBroker sondern mit 3rd party Anwendungen wie influxdb, Containern usw. zu tun hat, habe ich es nach OffTopic verschoben

                                @Berlon Bitte passe den Threadtitel auf die reale Situation an!

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

                                  @berlon sagte in BackItUp macht Ärger:

                                  Und Debian installiert mir gleich den Desktop mit.

                                  Das halte ich übrigens für ein Gerücht.

                                  echad@chet:~ $ apt install influxdb --dry-run
                                  NOTE: This is only a simulation!
                                        apt needs root privileges for real execution.
                                        Keep also in mind that locking is deactivated,
                                        so don't depend on the relevance to the real current situation!
                                  Reading package lists... Done
                                  Building dependency tree... Done
                                  Reading state information... Done
                                  The following NEW packages will be installed:
                                    influxdb
                                  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
                                  Inst influxdb (1.8.10-1 InfluxDB:repos.influxdata.com [arm64])
                                  Conf influxdb (1.8.10-1 InfluxDB:repos.influxdata.com [arm64])
                                  echad@chet:~ $
                                  

                                  Ein einsames Paket, von Desktop-Zeuch weit und breit keine Spur.
                                  Sieht für influxdb2 ganz ähnlich aus.

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    Berlon @Homoran last edited by

                                    @homoran
                                    Hab die Topic angepasst

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

                                      @berlon
                                      Nimm die Befehle aus meinem Post und installiere influxdb2-cli auf dem iobroker System

                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        Berlon @simatec last edited by Berlon

                                        Läuft alles, Danke für Eure Hilfe!!
                                        Und Danke für Eure Geduld!

                                        Gruß
                                        Bernd

                                        1 Reply Last reply Reply Quote 0
                                        • crunchip
                                          crunchip Forum Testing Most Active @Berlon last edited by

                                          @berlon sagte in Hilfe beim Einrichten von InfluxDB und BackItUp:

                                          Und Debian installiert mir gleich den Desktop mit

                                          Nie und nimmer

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          583
                                          Online

                                          31.7k
                                          Users

                                          79.8k
                                          Topics

                                          1.3m
                                          Posts

                                          7
                                          32
                                          2086
                                          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