Skip to content
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. BackItUp für InfluxDB

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.9k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.2k

BackItUp für InfluxDB

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
backitup influxdb
273 Beiträge 32 Kommentatoren 52.9k Aufrufe 28 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • D DF612

    Hallo,

    bei mir will der Restore der InfluxDB nicht klappen.
    Influx ist in der Version 1.8.3 installiert und funktioniert auch.
    Backitup läuft in Version 1.8.5

    Wiederhergestellt werden soll eine ca. 140MB große Datenbank, welche auf einem NAS über FTP abgerufen wird. Die Datei wird auch im Wiederherstellen Menü gefunden und kann ausgewählt werden.
    Sobald ich die Datei anklicke werde ich darauf hingewiesen, dass der IBroker neustarten wird und die kleine Uhr neben dem Datensatz verschwindet.
    Ab diesem Punkt gibt es kein weiteres Feedback.

    Nach ein paar Minuten lässt sich über die Konsole überprüfen, dass in InfluxDB die Datenbank und die Measurements angelegt wurden, allerdings sind in den Measurements keine Datenpunkte.
    Im Log sehe ich ebenfalls nichts.

    Hat jemand eine Idee wo hier das Problem liegen könnte?

    simatecS Online
    simatecS Online
    simatec
    Developer Most Active
    schrieb am zuletzt editiert von
    #34

    @df612
    Versuche es bitte lokal zu restoren.

    • Besuche meine Github Seite
    • Beitrag hat geholfen oder willst du mich unterstützen
    • HowTo Restore ioBroker
    P 1 Antwort Letzte Antwort
    0
    • simatecS simatec

      @df612
      Versuche es bitte lokal zu restoren.

      P Offline
      P Offline
      passuff
      schrieb am zuletzt editiert von passuff
      #35

      @simatec
      Folgende Konfig:

      Server 1: iobroker
      Server 2. influxdb mit datenbank (läuft seit Jahren)

      Ich habe nun auf Server 1 influxdb nachinstalliert. Ich verstehe es zwar nicht, habe es aber dennoch einfach mal getan. Ich habe weder eine db noch einen Benutzer angelegt. Zusätzlich habe ich nun auf Server 2 ein bind auf 0.0.0.0:8088 eingerichtet. Vermutlich ergibt das alles keinen Sinn und der Grund warum das backup nicht funktioniert ist offensichtlich - ich verstehe hier leider nur Bahnhof:

      influxDB: Error: Command failed: influxd backup -portable -database iobroker -host 192.168.1.10:8088 "/opt/iobroker/backups/influxDB_2021_02_01-11_02_37_backupiobroker"
      2021/02/01 11:02:37 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (0)...
      2021/02/01 11:02:39 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (1)...
      2021/02/01 11:02:41 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (2)...
      2021/02/01 11:02:43 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (3)...
      2021/02/01 11:02:45 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (4)...
      2021/02/01 11:02:47 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (5)...
      2021/02/01 11:02:49 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 3.01s and retrying (6)...
      2021/02/01 11:02:52 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 11.441s and retrying (7)...
      2021/02/01 11:03:04 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 43.477s and retrying (8)...
      2021/02/01 11:03:47 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2m45.216s and retrying (9)...
      backup: dial tcp 192.168.1.10:8088: connect: connection refused
      

      Meine adapter settings zeigen auf die aktive db auf Server2.

      simatecS 2 Antworten Letzte Antwort
      0
      • P passuff

        @simatec
        Folgende Konfig:

        Server 1: iobroker
        Server 2. influxdb mit datenbank (läuft seit Jahren)

        Ich habe nun auf Server 1 influxdb nachinstalliert. Ich verstehe es zwar nicht, habe es aber dennoch einfach mal getan. Ich habe weder eine db noch einen Benutzer angelegt. Zusätzlich habe ich nun auf Server 2 ein bind auf 0.0.0.0:8088 eingerichtet. Vermutlich ergibt das alles keinen Sinn und der Grund warum das backup nicht funktioniert ist offensichtlich - ich verstehe hier leider nur Bahnhof:

        influxDB: Error: Command failed: influxd backup -portable -database iobroker -host 192.168.1.10:8088 "/opt/iobroker/backups/influxDB_2021_02_01-11_02_37_backupiobroker"
        2021/02/01 11:02:37 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (0)...
        2021/02/01 11:02:39 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (1)...
        2021/02/01 11:02:41 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (2)...
        2021/02/01 11:02:43 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (3)...
        2021/02/01 11:02:45 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (4)...
        2021/02/01 11:02:47 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (5)...
        2021/02/01 11:02:49 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 3.01s and retrying (6)...
        2021/02/01 11:02:52 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 11.441s and retrying (7)...
        2021/02/01 11:03:04 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 43.477s and retrying (8)...
        2021/02/01 11:03:47 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2m45.216s and retrying (9)...
        backup: dial tcp 192.168.1.10:8088: connect: connection refused
        

        Meine adapter settings zeigen auf die aktive db auf Server2.

        simatecS Online
        simatecS Online
        simatec
        Developer Most Active
        schrieb am zuletzt editiert von
        #36

        @passuff sagte in BackItUp für InfluxDB:

        bind auf 0.0.0.0:8088

        Hast du Influx auf Server 2 mit "bind auf 0.0.0.0:8088" geändert?
        Wurde im Anschluss an die Änderungen Influx auf Server 2 neugestartet?

        • Besuche meine Github Seite
        • Beitrag hat geholfen oder willst du mich unterstützen
        • HowTo Restore ioBroker
        P 1 Antwort Letzte Antwort
        0
        • simatecS simatec

          @passuff sagte in BackItUp für InfluxDB:

          bind auf 0.0.0.0:8088

          Hast du Influx auf Server 2 mit "bind auf 0.0.0.0:8088" geändert?
          Wurde im Anschluss an die Änderungen Influx auf Server 2 neugestartet?

          P Offline
          P Offline
          passuff
          schrieb am zuletzt editiert von
          #37

          @simatec sagte in BackItUp für InfluxDB:

          nflux auf Server 2 mit "bind auf 0.0.0.0:8088"

          beides korrekt.

          1 Antwort Letzte Antwort
          0
          • P passuff

            @simatec
            Folgende Konfig:

            Server 1: iobroker
            Server 2. influxdb mit datenbank (läuft seit Jahren)

            Ich habe nun auf Server 1 influxdb nachinstalliert. Ich verstehe es zwar nicht, habe es aber dennoch einfach mal getan. Ich habe weder eine db noch einen Benutzer angelegt. Zusätzlich habe ich nun auf Server 2 ein bind auf 0.0.0.0:8088 eingerichtet. Vermutlich ergibt das alles keinen Sinn und der Grund warum das backup nicht funktioniert ist offensichtlich - ich verstehe hier leider nur Bahnhof:

            influxDB: Error: Command failed: influxd backup -portable -database iobroker -host 192.168.1.10:8088 "/opt/iobroker/backups/influxDB_2021_02_01-11_02_37_backupiobroker"
            2021/02/01 11:02:37 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (0)...
            2021/02/01 11:02:39 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (1)...
            2021/02/01 11:02:41 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (2)...
            2021/02/01 11:02:43 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (3)...
            2021/02/01 11:02:45 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (4)...
            2021/02/01 11:02:47 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2s and retrying (5)...
            2021/02/01 11:02:49 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 3.01s and retrying (6)...
            2021/02/01 11:02:52 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 11.441s and retrying (7)...
            2021/02/01 11:03:04 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 43.477s and retrying (8)...
            2021/02/01 11:03:47 Download shard 0 failed dial tcp 192.168.1.10:8088: connect: connection refused.  Waiting 2m45.216s and retrying (9)...
            backup: dial tcp 192.168.1.10:8088: connect: connection refused
            

            Meine adapter settings zeigen auf die aktive db auf Server2.

            simatecS Online
            simatecS Online
            simatec
            Developer Most Active
            schrieb am zuletzt editiert von
            #38

            @passuff
            Zeige mal bitte deine Config der Influx und deine IP-Adressen der Server

            • Besuche meine Github Seite
            • Beitrag hat geholfen oder willst du mich unterstützen
            • HowTo Restore ioBroker
            P 1 Antwort Letzte Antwort
            0
            • simatecS simatec

              @passuff
              Zeige mal bitte deine Config der Influx und deine IP-Adressen der Server

              P Offline
              P Offline
              passuff
              schrieb am zuletzt editiert von
              #39

              @simatec

              Server 1 (iobroker; 192.168.1.19; influxdb ohne db/user/etc.)
              Server 2 (influxdb; 192.168.1.10; bind 0.0.0.0:8088)

              influx.png
              backitup_influx.png

              simatecS 1 Antwort Letzte Antwort
              0
              • P passuff

                @simatec

                Server 1 (iobroker; 192.168.1.19; influxdb ohne db/user/etc.)
                Server 2 (influxdb; 192.168.1.10; bind 0.0.0.0:8088)

                influx.png
                backitup_influx.png

                simatecS Online
                simatecS Online
                simatec
                Developer Most Active
                schrieb am zuletzt editiert von simatec
                #40

                @passuff sagte in BackItUp für InfluxDB:

                192.168.1.10; bind 0.0.0.0:8088

                Trage mal bitte als remote bind folgendes ein und starte im Anschluss influxdb oder besser dein komplettes System mal neu

                bind 192.168.1.10:8088
                

                Zeige hier mal bitte die influxdb.conf

                • Besuche meine Github Seite
                • Beitrag hat geholfen oder willst du mich unterstützen
                • HowTo Restore ioBroker
                P 2 Antworten Letzte Antwort
                0
                • simatecS simatec

                  @passuff sagte in BackItUp für InfluxDB:

                  192.168.1.10; bind 0.0.0.0:8088

                  Trage mal bitte als remote bind folgendes ein und starte im Anschluss influxdb oder besser dein komplettes System mal neu

                  bind 192.168.1.10:8088
                  

                  Zeige hier mal bitte die influxdb.conf

                  P Offline
                  P Offline
                  passuff
                  schrieb am zuletzt editiert von
                  #41

                  @simatec

                  welche influxdb.conf soll ich ändern bzw zeigen? Es gibt ja zwei:

                  • Server 1 (ioboker + influxdb)
                  • ListenpunktServer 2 (influxdb - aktive db)
                  simatecS 1 Antwort Letzte Antwort
                  0
                  • P passuff

                    @simatec

                    welche influxdb.conf soll ich ändern bzw zeigen? Es gibt ja zwei:

                    • Server 1 (ioboker + influxdb)
                    • ListenpunktServer 2 (influxdb - aktive db)
                    simatecS Online
                    simatecS Online
                    simatec
                    Developer Most Active
                    schrieb am zuletzt editiert von
                    #42

                    @passuff
                    Nur die von Server 2. Server 1 ist egal ... Da wird nur die influxd zur Backupausführung benötigt

                    • Besuche meine Github Seite
                    • Beitrag hat geholfen oder willst du mich unterstützen
                    • HowTo Restore ioBroker
                    M 1 Antwort Letzte Antwort
                    0
                    • simatecS simatec

                      @passuff
                      Nur die von Server 2. Server 1 ist egal ... Da wird nur die influxd zur Backupausführung benötigt

                      M Offline
                      M Offline
                      Markus84
                      schrieb am zuletzt editiert von
                      #43

                      @simatec Ich habe leider auch einen Fehler beim backup der Influx-Datenbank und weiß nicht so recht wo ich anfangen muss den Fehler zu suchen:

                      Started...
                      [DEBUG] [iobroker] - host.iobroker 9481 states saved
                      
                      [DEBUG] [iobroker] - host.iobroker 10225 objects saved
                      
                      [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_02_02-14_19_01_backupiobroker.tar.gz
                      
                      [DEBUG] [iobroker] - done
                      [DEBUG] [influxDB] - Start infulxDB Backup ...
                      [DEBUG] [influxDB] - Created InfuxDB Backup dir
                      [DEBUG] [influxDB] - exec: influxd backup -portable -database iobroker -host 192.168.100.12:8088 /opt/iobroker/backups/influxDB_2021_02_02-14_19_19_backupiobroker
                      [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                      [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                      [ERROR] [influxDB] - [IGNORED] Error: Command failed: influxd backup -portable -database iobroker -host 192.168.100.12:8088 /opt/iobroker/backups/influxDB_2021_02_02-14_19_19_backupiobroker
                      /bin/sh: 1: influxd: not found
                      
                      [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_02_02-14_19_01_backupiobroker.tar.gz...
                      [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/influxDB_2021_02_02-14_19_19_backupiobroker.tar.gz" not found
                      [DEBUG] [googledrive] - done
                      [DEBUG] [clean] - done
                      [DEBUG] [pushover] - done
                      [DEBUG] [historyHTML] - new history html values created
                      [DEBUG] [historyHTML] - done
                      [DEBUG] [historyJSON] - new history json values created
                      [DEBUG] [historyJSON] - done
                      [EXIT] 0
                      

                      Kannst du hier helfen?

                      simatecS 1 Antwort Letzte Antwort
                      0
                      • M Markus84

                        @simatec Ich habe leider auch einen Fehler beim backup der Influx-Datenbank und weiß nicht so recht wo ich anfangen muss den Fehler zu suchen:

                        Started...
                        [DEBUG] [iobroker] - host.iobroker 9481 states saved
                        
                        [DEBUG] [iobroker] - host.iobroker 10225 objects saved
                        
                        [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_02_02-14_19_01_backupiobroker.tar.gz
                        
                        [DEBUG] [iobroker] - done
                        [DEBUG] [influxDB] - Start infulxDB Backup ...
                        [DEBUG] [influxDB] - Created InfuxDB Backup dir
                        [DEBUG] [influxDB] - exec: influxd backup -portable -database iobroker -host 192.168.100.12:8088 /opt/iobroker/backups/influxDB_2021_02_02-14_19_19_backupiobroker
                        [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory
                        [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted
                        [ERROR] [influxDB] - [IGNORED] Error: Command failed: influxd backup -portable -database iobroker -host 192.168.100.12:8088 /opt/iobroker/backups/influxDB_2021_02_02-14_19_19_backupiobroker
                        /bin/sh: 1: influxd: not found
                        
                        [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_02_02-14_19_01_backupiobroker.tar.gz...
                        [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/influxDB_2021_02_02-14_19_19_backupiobroker.tar.gz" not found
                        [DEBUG] [googledrive] - done
                        [DEBUG] [clean] - done
                        [DEBUG] [pushover] - done
                        [DEBUG] [historyHTML] - new history html values created
                        [DEBUG] [historyHTML] - done
                        [DEBUG] [historyJSON] - new history json values created
                        [DEBUG] [historyJSON] - done
                        [EXIT] 0
                        

                        Kannst du hier helfen?

                        simatecS Online
                        simatecS Online
                        simatec
                        Developer Most Active
                        schrieb am zuletzt editiert von simatec
                        #44

                        @markus84
                        Bitte mach ein Update auf die Version 1.8.5 oder auf die Github-Version 2.0.0-beta.2
                        Des Weiteren muss Influx auf dem ioboker System laufen, wobei die Datenbank auf einem anderen Server liegen kann.
                        In der Conf von Influx "bind auf 0.0.0.0:8088" anpassen

                        • Besuche meine Github Seite
                        • Beitrag hat geholfen oder willst du mich unterstützen
                        • HowTo Restore ioBroker
                        M 1 Antwort Letzte Antwort
                        0
                        • simatecS simatec

                          @markus84
                          Bitte mach ein Update auf die Version 1.8.5 oder auf die Github-Version 2.0.0-beta.2
                          Des Weiteren muss Influx auf dem ioboker System laufen, wobei die Datenbank auf einem anderen Server liegen kann.
                          In der Conf von Influx "bind auf 0.0.0.0:8088" anpassen

                          M Offline
                          M Offline
                          Markus84
                          schrieb am zuletzt editiert von
                          #45

                          @simatec Ich habe über Github die aktuelle Beta installiert. Leider erhalte ich die gleiche Fehlermeldung:

                          Started iobroker ...
                          [DEBUG] [iobroker] - host.iobroker 9475 states saved
                          
                          [DEBUG] [iobroker] - host.iobroker 10224 objects saved
                          
                          [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_02_02-14_49_49_backupiobroker.tar.gz
                          
                          [DEBUG] [iobroker] - done
                          [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
                          [ERROR] [influxDB] - [IGNORED] Error: Command failed: influxd backup -portable -database iobroker -host 192.168.100.12:8088 "/opt/iobroker/backups/influxDB_2021_02_02-14_50_06_backupiobroker"
                          /bin/sh: 1: influxd: not found
                          
                          [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_02_02-14_49_49_backupiobroker.tar.gz...
                          [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/influxDB_2021_02_02-14_50_06_backupiobroker.tar.gz" not found
                          [DEBUG] [googledrive] - done
                          [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                          [DEBUG] [clean] - done
                          [DEBUG] [pushover] - done
                          [DEBUG] [historyHTML] - new history html values created
                          [DEBUG] [historyHTML] - done
                          [DEBUG] [historyJSON] - new history json values created
                          [DEBUG] [historyJSON] - done
                          [EXIT] 0
                          
                          simatecS 1 Antwort Letzte Antwort
                          0
                          • M Markus84

                            @simatec Ich habe über Github die aktuelle Beta installiert. Leider erhalte ich die gleiche Fehlermeldung:

                            Started iobroker ...
                            [DEBUG] [iobroker] - host.iobroker 9475 states saved
                            
                            [DEBUG] [iobroker] - host.iobroker 10224 objects saved
                            
                            [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_02_02-14_49_49_backupiobroker.tar.gz
                            
                            [DEBUG] [iobroker] - done
                            [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
                            [ERROR] [influxDB] - [IGNORED] Error: Command failed: influxd backup -portable -database iobroker -host 192.168.100.12:8088 "/opt/iobroker/backups/influxDB_2021_02_02-14_50_06_backupiobroker"
                            /bin/sh: 1: influxd: not found
                            
                            [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_02_02-14_49_49_backupiobroker.tar.gz...
                            [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/influxDB_2021_02_02-14_50_06_backupiobroker.tar.gz" not found
                            [DEBUG] [googledrive] - done
                            [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                            [DEBUG] [clean] - done
                            [DEBUG] [pushover] - done
                            [DEBUG] [historyHTML] - new history html values created
                            [DEBUG] [historyHTML] - done
                            [DEBUG] [historyJSON] - new history json values created
                            [DEBUG] [historyJSON] - done
                            [EXIT] 0
                            
                            simatecS Online
                            simatecS Online
                            simatec
                            Developer Most Active
                            schrieb am zuletzt editiert von
                            #46

                            @markus84 sagte in BackItUp für InfluxDB:

                            in/sh: 1: influxd: not found

                            Du musst Influx auf deinem iobroker System installiert haben.
                            In der influxdb.conf auf deinem Influx-Server muss in den Remote-Einstellungen dann folgendes geändert werden

                            bind <IP des Servers>:8088
                            

                            oder

                            bind 0.0.0.0:8088
                            

                            Im Anschluss Influx neustarten

                            • Besuche meine Github Seite
                            • Beitrag hat geholfen oder willst du mich unterstützen
                            • HowTo Restore ioBroker
                            M 1 Antwort Letzte Antwort
                            0
                            • simatecS simatec

                              @markus84 sagte in BackItUp für InfluxDB:

                              in/sh: 1: influxd: not found

                              Du musst Influx auf deinem iobroker System installiert haben.
                              In der influxdb.conf auf deinem Influx-Server muss in den Remote-Einstellungen dann folgendes geändert werden

                              bind <IP des Servers>:8088
                              

                              oder

                              bind 0.0.0.0:8088
                              

                              Im Anschluss Influx neustarten

                              M Offline
                              M Offline
                              Markus84
                              schrieb am zuletzt editiert von
                              #47

                              @simatec Danke, das probiere ich gleich mal aus. Hätte ich das irgendwo in der Anleitung finden können? Ich hab gerade mal geschaut, aber nur den Issue#390 zu diesem Thema auf Github gefunden.

                              Meine Frage zielt darauf ab, ob ich einfach nur Influx installieren muss oder ob das auch in irgendeiner Form laufen muss (was ja wiederum Ressourcen benötigt). Nur das Installieren kostet ja nur ein paar MB Speicherplatz und ist nicht tragisch...

                              Insofern aber noch der Hinweis, dass der Fehler nicht im log steht (wo ich mich eigentlich drauf verlassen hätte) und auch nicht im Datenpunkt backitup.0.history.iobrokerSuccess als false ausgegeben wird. Letzteres verstehe ich noch, da es ja nicht das ioBroker-Backup an sich betrifft. Könnte man für die weiteren Backup-Optionen (Grafana, Influx, etc.) entsprechende Datenpunkte unter history anlegen, um die Backups zu überwachen? Ist diesbezüglich etwas geplant?

                              simatecS 1 Antwort Letzte Antwort
                              0
                              • M Markus84

                                @simatec Danke, das probiere ich gleich mal aus. Hätte ich das irgendwo in der Anleitung finden können? Ich hab gerade mal geschaut, aber nur den Issue#390 zu diesem Thema auf Github gefunden.

                                Meine Frage zielt darauf ab, ob ich einfach nur Influx installieren muss oder ob das auch in irgendeiner Form laufen muss (was ja wiederum Ressourcen benötigt). Nur das Installieren kostet ja nur ein paar MB Speicherplatz und ist nicht tragisch...

                                Insofern aber noch der Hinweis, dass der Fehler nicht im log steht (wo ich mich eigentlich drauf verlassen hätte) und auch nicht im Datenpunkt backitup.0.history.iobrokerSuccess als false ausgegeben wird. Letzteres verstehe ich noch, da es ja nicht das ioBroker-Backup an sich betrifft. Könnte man für die weiteren Backup-Optionen (Grafana, Influx, etc.) entsprechende Datenpunkte unter history anlegen, um die Backups zu überwachen? Ist diesbezüglich etwas geplant?

                                simatecS Online
                                simatecS Online
                                simatec
                                Developer Most Active
                                schrieb am zuletzt editiert von
                                #48

                                @markus84
                                Die Doku wird aktuell von mir für Version 2.0.0 überarbeitet. Dort wird dann auch alles zu Influx stehen

                                • Besuche meine Github Seite
                                • Beitrag hat geholfen oder willst du mich unterstützen
                                • HowTo Restore ioBroker
                                M 1 Antwort Letzte Antwort
                                0
                                • simatecS simatec

                                  @markus84
                                  Die Doku wird aktuell von mir für Version 2.0.0 überarbeitet. Dort wird dann auch alles zu Influx stehen

                                  M Offline
                                  M Offline
                                  Markus84
                                  schrieb am zuletzt editiert von
                                  #49

                                  @simatec Super, ich frag nur nicht gerne, wenn ich es auch einfach hätte selbst irgendwo lesen können...

                                  Noch eine Frage/Hinweis: Der "Backup now" button ist unter dem Reiter ioBroker. Ist das noch logisch, da ja weit mehr als der ioBroker mit diesem button geupdatet werden kann?

                                  simatecS 1 Antwort Letzte Antwort
                                  0
                                  • M Markus84

                                    @simatec Super, ich frag nur nicht gerne, wenn ich es auch einfach hätte selbst irgendwo lesen können...

                                    Noch eine Frage/Hinweis: Der "Backup now" button ist unter dem Reiter ioBroker. Ist das noch logisch, da ja weit mehr als der ioBroker mit diesem button geupdatet werden kann?

                                    simatecS Online
                                    simatecS Online
                                    simatec
                                    Developer Most Active
                                    schrieb am zuletzt editiert von
                                    #50

                                    @markus84
                                    Guter Gedanke .. Ich überlege mir da mal etwas

                                    • Besuche meine Github Seite
                                    • Beitrag hat geholfen oder willst du mich unterstützen
                                    • HowTo Restore ioBroker
                                    M 1 Antwort Letzte Antwort
                                    0
                                    • simatecS simatec

                                      @markus84
                                      Guter Gedanke .. Ich überlege mir da mal etwas

                                      M Offline
                                      M Offline
                                      Markus84
                                      schrieb am zuletzt editiert von
                                      #51

                                      @simatec

                                      Leider erhalte ich noch Fehlermeldungen im Log. Influx ist auf dem ioBroker RPI installiert, das Binding ist eingetragen in der influxdb.conf auf meinem Grafana/Influxdb RPI. Neu gestartet habe ich auch.

                                      Bezüglich Grafana: Trotz Fehlermeldung wurde ein Grafana Backup gespeichert. Ob es sich restoren lassen würde habe ich allerdings nicht getestet.

                                      Started iobroker ...
                                      [DEBUG] [iobroker] - host.iobroker 9480 states saved
                                      
                                      [DEBUG] [iobroker] - host.iobroker 10222 objects saved
                                      
                                      [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_02_03-05_31_29_backupiobroker.tar.gz
                                      
                                      [DEBUG] [iobroker] - done
                                      [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
                                      [ERROR] [influxDB] - [IGNORED] Error: Command failed: influxd backup -portable -database iobroker -host 192.168.100.12:8088 "/opt/iobroker/backups/influxDB_2021_02_03-05_31_47_backupiobroker"
                                      2021/02/03 05:31:47 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2s and retrying (0)...
                                      2021/02/03 05:31:49 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2s and retrying (1)...
                                      2021/02/03 05:31:51 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2s and retrying (2)...
                                      2021/02/03 05:31:53 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2s and retrying (3)...
                                      2021/02/03 05:31:55 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2s and retrying (4)...
                                      2021/02/03 05:31:57 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2s and retrying (5)...
                                      2021/02/03 05:31:59 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 3.01s and retrying (6)...
                                      2021/02/03 05:32:02 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 11.441s and retrying (7)...
                                      2021/02/03 05:32:13 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 43.477s and retrying (8)...
                                      2021/02/03 05:32:57 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2m45.216s and retrying (9)...
                                      backup: dial tcp 192.168.100.12:8088: connect: connection refused
                                      
                                      [DEBUG] [grafana] - Start Grafana Backup ...
                                      [DEBUG] [grafana] - Created grafana_tmp directory
                                      [DEBUG] [grafana] - Created dashboard directory
                                      [DEBUG] [grafana] - Created dashboards_manually_restore directory
                                      [DEBUG] [grafana] - Created datasource directory
                                      [DEBUG] [grafana] - start Grafana request ...
                                      [DEBUG] [grafana] - Grafana is available ... Status: 200
                                      [DEBUG] [grafana] - Error on Grafana Dashoard Request: Error: Request failed with status code 401
                                      [DEBUG] [grafana] - start Grafana backup compress ...
                                      [DEBUG] [grafana] - Backup created: /opt/iobroker/backups/grafana_2021_02_03-05_35_43_backupiobroker.tar.gz
                                      [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
                                      [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
                                      [DEBUG] [grafana] - done
                                      [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_02_03-05_31_29_backupiobroker.tar.gz...
                                      [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/influxDB_2021_02_03-05_31_47_backupiobroker.tar.gz" not found
                                      [DEBUG] [googledrive] - Google Drive: Copy grafana_2021_02_03-05_35_43_backupiobroker.tar.gz...
                                      [DEBUG] [googledrive] - done
                                      [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                                      [DEBUG] [clean] - done
                                      [DEBUG] [pushover] - done
                                      [DEBUG] [historyHTML] - new history html values created
                                      [DEBUG] [historyHTML] - done
                                      [DEBUG] [historyJSON] - new history json values created
                                      [DEBUG] [historyJSON] - done
                                      [EXIT] 0
                                      
                                      simatecS 1 Antwort Letzte Antwort
                                      0
                                      • M Markus84

                                        @simatec

                                        Leider erhalte ich noch Fehlermeldungen im Log. Influx ist auf dem ioBroker RPI installiert, das Binding ist eingetragen in der influxdb.conf auf meinem Grafana/Influxdb RPI. Neu gestartet habe ich auch.

                                        Bezüglich Grafana: Trotz Fehlermeldung wurde ein Grafana Backup gespeichert. Ob es sich restoren lassen würde habe ich allerdings nicht getestet.

                                        Started iobroker ...
                                        [DEBUG] [iobroker] - host.iobroker 9480 states saved
                                        
                                        [DEBUG] [iobroker] - host.iobroker 10222 objects saved
                                        
                                        [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2021_02_03-05_31_29_backupiobroker.tar.gz
                                        
                                        [DEBUG] [iobroker] - done
                                        [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
                                        [ERROR] [influxDB] - [IGNORED] Error: Command failed: influxd backup -portable -database iobroker -host 192.168.100.12:8088 "/opt/iobroker/backups/influxDB_2021_02_03-05_31_47_backupiobroker"
                                        2021/02/03 05:31:47 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2s and retrying (0)...
                                        2021/02/03 05:31:49 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2s and retrying (1)...
                                        2021/02/03 05:31:51 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2s and retrying (2)...
                                        2021/02/03 05:31:53 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2s and retrying (3)...
                                        2021/02/03 05:31:55 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2s and retrying (4)...
                                        2021/02/03 05:31:57 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2s and retrying (5)...
                                        2021/02/03 05:31:59 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 3.01s and retrying (6)...
                                        2021/02/03 05:32:02 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 11.441s and retrying (7)...
                                        2021/02/03 05:32:13 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 43.477s and retrying (8)...
                                        2021/02/03 05:32:57 Download shard 0 failed dial tcp 192.168.100.12:8088: connect: connection refused.  Waiting 2m45.216s and retrying (9)...
                                        backup: dial tcp 192.168.100.12:8088: connect: connection refused
                                        
                                        [DEBUG] [grafana] - Start Grafana Backup ...
                                        [DEBUG] [grafana] - Created grafana_tmp directory
                                        [DEBUG] [grafana] - Created dashboard directory
                                        [DEBUG] [grafana] - Created dashboards_manually_restore directory
                                        [DEBUG] [grafana] - Created datasource directory
                                        [DEBUG] [grafana] - start Grafana request ...
                                        [DEBUG] [grafana] - Grafana is available ... Status: 200
                                        [DEBUG] [grafana] - Error on Grafana Dashoard Request: Error: Request failed with status code 401
                                        [DEBUG] [grafana] - start Grafana backup compress ...
                                        [DEBUG] [grafana] - Backup created: /opt/iobroker/backups/grafana_2021_02_03-05_35_43_backupiobroker.tar.gz
                                        [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp"
                                        [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted
                                        [DEBUG] [grafana] - done
                                        [DEBUG] [googledrive] - Google Drive: Copy iobroker_2021_02_03-05_31_29_backupiobroker.tar.gz...
                                        [ERROR] [googledrive] - Google Drive: File "/opt/iobroker/backups/influxDB_2021_02_03-05_31_47_backupiobroker.tar.gz" not found
                                        [DEBUG] [googledrive] - Google Drive: Copy grafana_2021_02_03-05_35_43_backupiobroker.tar.gz...
                                        [DEBUG] [googledrive] - done
                                        [ERROR] [clean] - Backup files not deleted from /opt/iobroker/backups because some errors.
                                        [DEBUG] [clean] - done
                                        [DEBUG] [pushover] - done
                                        [DEBUG] [historyHTML] - new history html values created
                                        [DEBUG] [historyHTML] - done
                                        [DEBUG] [historyJSON] - new history json values created
                                        [DEBUG] [historyJSON] - done
                                        [EXIT] 0
                                        
                                        simatecS Online
                                        simatecS Online
                                        simatec
                                        Developer Most Active
                                        schrieb am zuletzt editiert von
                                        #52

                                        @markus84
                                        Zeige mal bitte deine influxdb.conf
                                        Hast du Influx nach Änderung der bind neugestartet?

                                        Zu Grafana. Hast du einen API-Key in Grafana erzeugt und diesen auch in Backitup eingetragen?
                                        Stimmen deine Grafana User-Daten?

                                        Zeige mal bitte den Inhalt des Grafana Backups. Einfach mal mit 7Zip entpacken

                                        • Besuche meine Github Seite
                                        • Beitrag hat geholfen oder willst du mich unterstützen
                                        • HowTo Restore ioBroker
                                        M 1 Antwort Letzte Antwort
                                        0
                                        • simatecS simatec

                                          @markus84
                                          Zeige mal bitte deine influxdb.conf
                                          Hast du Influx nach Änderung der bind neugestartet?

                                          Zu Grafana. Hast du einen API-Key in Grafana erzeugt und diesen auch in Backitup eingetragen?
                                          Stimmen deine Grafana User-Daten?

                                          Zeige mal bitte den Inhalt des Grafana Backups. Einfach mal mit 7Zip entpacken

                                          M Offline
                                          M Offline
                                          Markus84
                                          schrieb am zuletzt editiert von
                                          #53

                                          @simatec

                                          Hat sich erledigt. Nach einem Neustart aller Systeme geht es. Der Adapter war schon immer klasse aber jetzt ist er nahezu perfekt!

                                          1 Antwort Letzte Antwort
                                          1
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          697

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe