Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. Hilfe beim Einrichten von InfluxDB und BackItUp

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    710

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    18
    1
    5.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.5k

Hilfe beim Einrichten von InfluxDB und BackItUp

Scheduled Pinned Locked Moved Off Topic
32 Posts 7 Posters 3.2k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Einstein67

    @berlon said in BackItUp macht Ärger:

    Wichtig wäre noch zu sagen das diese Installation unter Proxmox in einem Container läuft.

    Und vermutlich in einem "unprivilegierten"?

    Wo ist IOB vorher gelaufen?

    B Offline
    B Offline
    Berlon
    wrote on last edited by
    #4

    @einstein67
    unprivilegiert = ja
    vorher auf einem Raspberry Pi4

    Soll ich nochmal aufsetzten als privilegierter Container?

    E 1 Reply Last reply
    0
    • B Berlon

      @einstein67
      unprivilegiert = ja
      vorher auf einem Raspberry Pi4

      Soll ich nochmal aufsetzten als privilegierter Container?

      E Offline
      E Offline
      Einstein67
      wrote on last edited by
      #5

      @berlon Ein unprivilegierter CT hat leider nicht die Rechte um auf externe Shares zuzugreifen.

      Also ein privilegierter LXC oder eine VM, dann gibts kein Problem mit BackitUp.

      B 1 Reply Last reply
      0
      • E Einstein67

        @berlon Ein unprivilegierter CT hat leider nicht die Rechte um auf externe Shares zuzugreifen.

        Also ein privilegierter LXC oder eine VM, dann gibts kein Problem mit BackitUp.

        B Offline
        B Offline
        Berlon
        wrote on last edited by
        #6

        @einstein67
        Danke für die Auskunft.
        Werde den Broker als VM neu aufsetzen.

        E 1 Reply Last reply
        0
        • B Berlon

          @einstein67
          Danke für die Auskunft.
          Werde den Broker als VM neu aufsetzen.

          E Offline
          E Offline
          Einstein67
          wrote on last edited by
          #7

          @berlon Du könntest, wenns schnell gehen soll, deinen Container auf die Synology sichern.

          • Wiederherstellen als "privilegiert"
          • Unter Optionen-Features "NFS" anwählen
          • im CT "apt install nfs-common" installieren

          und schon sollte Sicherung und Wiederherstellung funktionieren.

          B 1 Reply Last reply
          0
          • E Einstein67

            @berlon Du könntest, wenns schnell gehen soll, deinen Container auf die Synology sichern.

            • Wiederherstellen als "privilegiert"
            • Unter Optionen-Features "NFS" anwählen
            • im CT "apt install nfs-common" installieren

            und schon sollte Sicherung und Wiederherstellung funktionieren.

            B Offline
            B Offline
            Berlon
            wrote on last edited by Berlon
            #8

            @einstein67
            Habs so gemacht und bin etwas weiter. Backup startet,
            Habe nun das Problem mit Influx. Token habe ich gesternt.
            Das Backup bleibt in der letzten Zeile stehen und beendet nicht.
            Liegt es eventuell daran das Influx/ Grafana auch ein unprivilegierter CT sind?
            Die Konfig im BackItUp habe ich mit dem Button "Ermitteln der Konfiguration" übernommen.
            Influx funktioniert da ich Daten reinschreibe und mit Grafana auswerte.

            Started iobroker ...
            [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_00_41_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] - 
            [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker --host http://192.168.6.52:8086 -t ***************************************************** "/opt/iobroker/backups/influxDB_2022_09_11-18_00_45_backupiobroker"
            /bin/sh: 1: influx: not found
            
            Thomas BraunT 1 Reply Last reply
            0
            • B Berlon

              @einstein67
              Habs so gemacht und bin etwas weiter. Backup startet,
              Habe nun das Problem mit Influx. Token habe ich gesternt.
              Das Backup bleibt in der letzten Zeile stehen und beendet nicht.
              Liegt es eventuell daran das Influx/ Grafana auch ein unprivilegierter CT sind?
              Die Konfig im BackItUp habe ich mit dem Button "Ermitteln der Konfiguration" übernommen.
              Influx funktioniert da ich Daten reinschreibe und mit Grafana auswerte.

              Started iobroker ...
              [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_00_41_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] - 
              [ERROR] [influxDB] - Error: Command failed: influx backup --bucket iobroker --host http://192.168.6.52:8086 -t ***************************************************** "/opt/iobroker/backups/influxDB_2022_09_11-18_00_45_backupiobroker"
              /bin/sh: 1: influx: not found
              
              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              wrote on last edited by
              #9

              @berlon sagte in BackItUp macht Ärger:

              /bin/sh: 1: influx: not found

              Auf beiden Systemen muss influxdb installiert sein. Siehe Anleitung zu Backitup.

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              B 1 Reply Last reply
              0
              • Thomas BraunT Thomas Braun

                @berlon sagte in BackItUp macht Ärger:

                /bin/sh: 1: influx: not found

                Auf beiden Systemen muss influxdb installiert sein. Siehe Anleitung zu Backitup.

                B Offline
                B Offline
                Berlon
                wrote on last edited by Berlon
                #10

                @thomas-braun
                auf dem Brocker auch? Reicht da nur die Installation oder muss da auch konfiguriert werden?
                Wenn ja, was? Kannst mir einen Link geben? Der Link im BackItUp Adapter führt
                zu der allgemeinen Doku von Influx auf englisch.

                Thomas BraunT 1 Reply Last reply
                0
                • B Berlon

                  @thomas-braun
                  auf dem Brocker auch? Reicht da nur die Installation oder muss da auch konfiguriert werden?
                  Wenn ja, was? Kannst mir einen Link geben? Der Link im BackItUp Adapter führt
                  zu der allgemeinen Doku von Influx auf englisch.

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  wrote on last edited by
                  #11

                  @berlon

                  Was für ein Brocker?

                  Auf beiden Systemen. Also auf dem wo die Datenbank läuft und dann auf dem Client (in gleicher Version).

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  B 1 Reply Last reply
                  0
                  • Thomas BraunT Thomas Braun

                    @berlon

                    Was für ein Brocker?

                    Auf beiden Systemen. Also auf dem wo die Datenbank läuft und dann auf dem Client (in gleicher Version).

                    B Offline
                    B Offline
                    Berlon
                    wrote on last edited by Berlon
                    #12

                    @thomas-braun
                    Alles läuft auf Proxmox.
                    ioBroker und InfluxDB/Grafana laufen in 2 verschiedene CT.
                    Mit dem ioBroker will ich dann mit BackItUp dann auch InfluxDB sichern.
                    Die Konfiguration nimmt sich BackItUp aus dem influxdb Adapter.
                    Hoffe das ich es nun richtig beschrieben habe.

                    Thomas BraunT DJMarc75D 2 Replies Last reply
                    0
                    • B Berlon

                      @thomas-braun
                      Alles läuft auf Proxmox.
                      ioBroker und InfluxDB/Grafana laufen in 2 verschiedene CT.
                      Mit dem ioBroker will ich dann mit BackItUp dann auch InfluxDB sichern.
                      Die Konfiguration nimmt sich BackItUp aus dem influxdb Adapter.
                      Hoffe das ich es nun richtig beschrieben habe.

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by Thomas Braun
                      #13

                      @berlon

                      Nochmal. influxdb muss auf beiden Systemen/Müllcontainern installiert sein.
                      In der gleichen Version.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      1 Reply Last reply
                      0
                      • B Berlon

                        @thomas-braun
                        Alles läuft auf Proxmox.
                        ioBroker und InfluxDB/Grafana laufen in 2 verschiedene CT.
                        Mit dem ioBroker will ich dann mit BackItUp dann auch InfluxDB sichern.
                        Die Konfiguration nimmt sich BackItUp aus dem influxdb Adapter.
                        Hoffe das ich es nun richtig beschrieben habe.

                        DJMarc75D Offline
                        DJMarc75D Offline
                        DJMarc75
                        wrote on last edited by
                        #14

                        @berlon

                        sudo apt install influxdb
                        

                        auf Deinem Hauptsystem ausführen (Brocker) 😙

                        Lehrling seit 1975 !!!
                        Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                        https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                        B 1 Reply Last reply
                        0
                        • DJMarc75D DJMarc75

                          @berlon

                          sudo apt install influxdb
                          

                          auf Deinem Hauptsystem ausführen (Brocker) 😙

                          B Offline
                          B Offline
                          Berlon
                          wrote on last edited by
                          #15

                          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 BraunT simatecS 2 Replies Last reply
                          0
                          • B Berlon

                            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 BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            wrote on last edited by
                            #16

                            @berlon

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

                            apt policy influxdb*
                            

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            B 2 Replies Last reply
                            0
                            • DJMarc75D Offline
                              DJMarc75D Offline
                              DJMarc75
                              wrote on last edited by
                              #17

                              @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

                              Lehrling seit 1975 !!!
                              Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                              https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                              1 Reply Last reply
                              1
                              • B Berlon

                                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...........................................

                                simatecS Offline
                                simatecS Offline
                                simatec
                                Developer Most Active
                                wrote on last edited by
                                #18

                                @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
                                
                                • Besuche meine Github Seite
                                • Beitrag hat geholfen oder willst du mich unterstützen
                                • HowTo Restore ioBroker
                                1 Reply Last reply
                                1
                                • B Berlon

                                  Hallo,
                                  noch nie hatte ich solche Probleme den Broker aufzusetzten.
                                  Das aktuelle System hat die IP des ehemaligen Sstems eingenommen.
                                  Damit entfällt die Umstellung aller Sonoffgeräte.

                                  Nun zickt der BackItUp
                                  Daten wurden aus dem ehemaligen Produktivsystem auf diesen Broker übertragen.
                                  Im Ehemaligen läuft CIFS ohne Probleme.
                                  Hier bekomme ich mit den gleichen Einstellungen:

                                  Started iobroker ...
                                  [DEBUG] [mount] - noserverino option: false
                                  [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=RPI_IOBroker,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.0 //192.168.6.10/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups"
                                  [DEBUG] [mount] - first mount attempt with smb option failed. try next mount attempt without smb option ...
                                  [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=RPI_IOBroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.6.10/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups"
                                  [ERROR] [mount] - [undefined Error: Command failed: sudo mount -t cifs -o username=RPI_IOBroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.6.10/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups
                                  mount error(1): Operation not permitted
                                  Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                                  
                                  [ERROR] [mount] - Error: Command failed: sudo mount -t cifs -o username=RPI_IOBroker,password=****,rw,file_mode=0777,dir_mode=0777 //192.168.6.10/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups
                                  mount error(1): Operation not permitted
                                  Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
                                  

                                  Auch NFS geht nicht:

                                  Started iobroker ...
                                  [DEBUG] [mount] - nfs-mount command: "sudo mount 192.168.6.10:/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups"
                                  [ERROR] [mount] - [undefined mount.nfs: Operation not permitted
                                  
                                  [ERROR] [mount] - Error: Command failed: sudo mount 192.168.6.10:/Backup/RPI_IOBroker/IOBroker /opt/iobroker/backups
                                  mount.nfs: Operation not permitted
                                  

                                  iob fix wurde bereits durchgeführt.

                                  In der Syno sind die Berechtigungen für NFS und ko richtig gesetzt da der Benutzer im Ordner rw Rechte hat.

                                  Ich vermute das Problem beim Broker

                                  Gruß
                                  Bernd

                                  HomoranH Do not disturb
                                  HomoranH Do not disturb
                                  Homoran
                                  Global Moderator Administrators
                                  wrote on last edited by
                                  #19

                                  @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.

                                  kein Support per PN! - Fragen im Forum stellen -
                                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                                  Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton oben rechts. Danke!
                                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                  B 1 Reply Last reply
                                  2
                                  • HomoranH Homoran

                                    @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 Offline
                                    B Offline
                                    Berlon
                                    wrote on last edited by
                                    #20

                                    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
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @berlon

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

                                      apt policy influxdb*
                                      
                                      B Offline
                                      B Offline
                                      Berlon
                                      wrote on last edited by
                                      #21

                                      @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 BraunT 1 Reply Last reply
                                      0
                                      • B Berlon

                                        @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 BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        wrote on last edited by Thomas Braun
                                        #22

                                        @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.

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        1 Reply Last reply
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @berlon

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

                                          apt policy influxdb*
                                          
                                          B Offline
                                          B Offline
                                          Berlon
                                          wrote on last edited by Berlon
                                          #23

                                          @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 BraunT 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          566

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe