Skip to content
  • Home
  • 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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Probleme beim Backup von influxDB

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    14
    1
    225

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    1.8k

Probleme beim Backup von influxDB

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
influxdbbackup fehler
8 Beiträge 4 Kommentatoren 978 Aufrufe 4 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.
  • T Offline
    T Offline
    TomBo1969
    schrieb am zuletzt editiert von
    #1

    Moin, folgende Ausgangssituation:

    1. RasPi4 mit ioBroker (alles aktuell, sowohl ioBroker als auch RaspiOS Bullseye), influxd installiert (1.8.10), aber keine Datenbank

    2. RasPi3 (aktuelles Buster) mit influxDB (1.8.10), Grafana und etlichen anderen ausgelagerten Diensten, die ich in ioBroker eingebunden habe. Hier läuft die Datenbank, wobei die Daten auf einem USB-Stick gespeichert werden (vfat, muss auch aus Gründen so bleiben:nerd_face: , in fstab sind uid/gid aber auf influxdb angepasst)

    Ziel ist es, mittels BackitUp beim täglichen Backup auch die influxDB-Datenbank mit aufs NAS zu sichern. Die Einrichtung mit den entsprechenden Ports etc. klappt, allerdings funktioniert es nicht vollständig:

    [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
    [ERROR] [influxDB] - [IGNORED] Error: Command failed: influxd backup -portable -database iobroker -host 192.168.178.99:8088 "/opt/iobroker/backups/influxDB_2022_02_08-13_54_55_backupiobroker"
    2022/02/08 13:54:55 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2s and retrying (0)...
    2022/02/08 13:54:57 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2s and retrying (1)...
    2022/02/08 13:54:59 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2s and retrying (2)...
    2022/02/08 13:55:01 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2s and retrying (3)...
    2022/02/08 13:55:03 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2s and retrying (4)...
    2022/02/08 13:55:05 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2s and retrying (5)...
    2022/02/08 13:55:07 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 3.01s and retrying (6)...
    2022/02/08 13:55:10 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 11.441s and retrying (7)...
    2022/02/08 13:55:22 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 43.477s and retrying (8)...
    2022/02/08 13:56:05 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2m45.216s and retrying (9)...
    2022/02/08 13:58:51 error (copy backup to file: no data returned, check server logs for snapshot errors) when backing up db: iobroker, rp autogen, shard 2. continuing backup on remaining shards
    2022/02/08 13:58:51 backup failed: copy backup to file: no data returned, check server logs for snapshot errors
    backup: copy backup to file: no data returned, check server logs for snapshot errors
    
    

    Wenn ich direkt auf dem RasPi3 ein influxd backup starte, werden die Metadaten der Datenbank gesichert, allerdings nicht die Daten vom USB-Stick, es kommt die gleiche Fehlermeldung. Beim Recherchieren nach der Meldung bin ich nur auf Issues gestoßen, die mich nicht weiter gebracht haben oder die ich nicht verstanden habe...:pensive:

    Hat einer von den Experten eine Idee/einen Ansatz wie ich hier vorgehen kann?
    Besten Dank, Tom

    simatecS 1 Antwort Letzte Antwort
    0
    • T TomBo1969

      Moin, folgende Ausgangssituation:

      1. RasPi4 mit ioBroker (alles aktuell, sowohl ioBroker als auch RaspiOS Bullseye), influxd installiert (1.8.10), aber keine Datenbank

      2. RasPi3 (aktuelles Buster) mit influxDB (1.8.10), Grafana und etlichen anderen ausgelagerten Diensten, die ich in ioBroker eingebunden habe. Hier läuft die Datenbank, wobei die Daten auf einem USB-Stick gespeichert werden (vfat, muss auch aus Gründen so bleiben:nerd_face: , in fstab sind uid/gid aber auf influxdb angepasst)

      Ziel ist es, mittels BackitUp beim täglichen Backup auch die influxDB-Datenbank mit aufs NAS zu sichern. Die Einrichtung mit den entsprechenden Ports etc. klappt, allerdings funktioniert es nicht vollständig:

      [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
      [ERROR] [influxDB] - [IGNORED] Error: Command failed: influxd backup -portable -database iobroker -host 192.168.178.99:8088 "/opt/iobroker/backups/influxDB_2022_02_08-13_54_55_backupiobroker"
      2022/02/08 13:54:55 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2s and retrying (0)...
      2022/02/08 13:54:57 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2s and retrying (1)...
      2022/02/08 13:54:59 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2s and retrying (2)...
      2022/02/08 13:55:01 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2s and retrying (3)...
      2022/02/08 13:55:03 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2s and retrying (4)...
      2022/02/08 13:55:05 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2s and retrying (5)...
      2022/02/08 13:55:07 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 3.01s and retrying (6)...
      2022/02/08 13:55:10 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 11.441s and retrying (7)...
      2022/02/08 13:55:22 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 43.477s and retrying (8)...
      2022/02/08 13:56:05 Download shard 2 failed copy backup to file: no data returned, check server logs for snapshot errors.  Waiting 2m45.216s and retrying (9)...
      2022/02/08 13:58:51 error (copy backup to file: no data returned, check server logs for snapshot errors) when backing up db: iobroker, rp autogen, shard 2. continuing backup on remaining shards
      2022/02/08 13:58:51 backup failed: copy backup to file: no data returned, check server logs for snapshot errors
      backup: copy backup to file: no data returned, check server logs for snapshot errors
      
      

      Wenn ich direkt auf dem RasPi3 ein influxd backup starte, werden die Metadaten der Datenbank gesichert, allerdings nicht die Daten vom USB-Stick, es kommt die gleiche Fehlermeldung. Beim Recherchieren nach der Meldung bin ich nur auf Issues gestoßen, die mich nicht weiter gebracht haben oder die ich nicht verstanden habe...:pensive:

      Hat einer von den Experten eine Idee/einen Ansatz wie ich hier vorgehen kann?
      Besten Dank, Tom

      simatecS Offline
      simatecS Offline
      simatec
      Developer Most Active
      schrieb am zuletzt editiert von
      #2

      @tombo1969
      Hast du laut Doku von Backitup den Remote Port in deiner influxdb.conf konfiguriert?

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

        @tombo1969
        Hast du laut Doku von Backitup den Remote Port in deiner influxdb.conf konfiguriert?

        T Offline
        T Offline
        TomBo1969
        schrieb am zuletzt editiert von
        #3

        @simatec Ja, habe ich. Ich denke auch nicht, dass der Remotezugriff das Problem ist, da ich den Fehler ja auch erhalte, wenn ich lokal auf dem Datenbank-RasPi3 versuche, ein Backup zu starten, also völlig losgelöst vom BackitUp-Adapter auf dem ioBroker..

        1 Antwort Letzte Antwort
        0
        • B Offline
          B Offline
          bloop
          schrieb am zuletzt editiert von
          #4

          Guten Abend,
          Gibt es hierzu eine Lösung?
          Ich habe seit kurzem exakt den selben Fehler.

          Herzlichen Dank!

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • B bloop

            Guten Abend,
            Gibt es hierzu eine Lösung?
            Ich habe seit kurzem exakt den selben Fehler.

            Herzlichen Dank!

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #5

            @bloop

            Das will ich nicht hoffen, der Thread ist 2 Jahre alt und du hast denn jetzt warum auch immer ausgebuddelt.

            Mach ein eigenes Thema mit DEINEN Meldungen von DEINEM System auf.

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

              @bloop

              Das will ich nicht hoffen, der Thread ist 2 Jahre alt und du hast denn jetzt warum auch immer ausgebuddelt.

              Mach ein eigenes Thema mit DEINEN Meldungen von DEINEM System auf.

              B Offline
              B Offline
              bloop
              schrieb am zuletzt editiert von
              #6

              @thomas-braun Herzlichen Dank!
              Nachdem hier doch oft für ein und die selben Probleme mehrere Beiträge eröffnet werden, dachte ich mir es wäre so einfacher. Werde einen Beitrag eröffnen.

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • B bloop

                @thomas-braun Herzlichen Dank!
                Nachdem hier doch oft für ein und die selben Probleme mehrere Beiträge eröffnet werden, dachte ich mir es wäre so einfacher. Werde einen Beitrag eröffnen.

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #7

                @bloop

                Aber nicht zu einem 2 Jahre alten Ding, dessen Konfiguration du hoffentlich eh nicht 1:1 so fährst.

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

                  @bloop

                  Aber nicht zu einem 2 Jahre alten Ding, dessen Konfiguration du hoffentlich eh nicht 1:1 so fährst.

                  B Offline
                  B Offline
                  bloop
                  schrieb am zuletzt editiert von
                  #8

                  @thomas-braun
                  Naja, die config meiner InfluxDB 1.8 wird sich nicht mehr gravierend ändern solange sie Stabil läuft ;)
                  Influx 2 läuft seit zwei Jahren parallel.

                  1 Antwort Letzte Antwort
                  0
                  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

                  416

                  Online

                  32.5k

                  Benutzer

                  81.9k

                  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
                  • Home
                  • Aktuell
                  • Tags
                  • Ungelesen 0
                  • Kategorien
                  • Unreplied
                  • Beliebt
                  • GitHub
                  • Docu
                  • Hilfe