Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] InfluxDB 1.8.10 Remote Backup mit BackItUp

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    [gelöst] InfluxDB 1.8.10 Remote Backup mit BackItUp

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

      Hallo Zusammen,

      da mein Raspi an seine Grenzen kam, bin ich umgezogen auf einen NUC mit Proxmox. Habe dort eine eine IoBroker VM und für InfluxDB und Grafana jeweils einen Container mit Debian 12 erstellt. Das Restore aus dem IoBroker Backup hat gut geklappt und die InfluxDB habe ich manuell wiederhergestellt. Läuft auch alles.
      Jetzt will ich die InfluxDB wieder mit BackItUp sichern, aber ich kriege es einfach nicht hin. Hab auf dem IoBroker auch InfluxDB installiert, allerdings keine Datenbank angelegt. Wenn ich dann ein Backup starte, läuft das vom IoBroker sauber und zügig durch. Beim InfluxDB siehts anders aus, da kommt nach mehreren Minuten irgendwann folgende Fehlermeldung:

      [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: "/opt/iobroker/backups/influxDB_2023_08_30-15_19_46_vm_backupiobroker"
      [DEBUG] [influxDB] - InfluxDB tmp directory "/opt/iobroker/backups/influxDB_2023_08_30-15_19_46_vm_backupiobroker" successfully deleted
      [DEBUG] [influxDB] - 2023/08/30 15:19:46 backing up metastore to /opt/iobroker/backups/influxDB_2023_08_30-15_19_46_vm_backupiobroker/meta.00
      
      [ERROR] [influxDB] - Error: Command failed: influxd backup -portable -database iobroker -host 192.168.1.16:8088 "/opt/iobroker/backups/influxDB_2023_08_30-15_19_46_vm_backupiobroker"
      2023/08/30 15:19:46 Download shard 0 failed dial tcp 192.168.1.16:8088: connect: connection refused.  Waiting 2s and retrying (0)...
      2023/08/30 15:19:48 Download shard 0 failed dial tcp 192.168.1.16:8088: connect: connection refused.  Waiting 2s and retrying (1)...
      2023/08/30 15:19:50 Download shard 0 failed dial tcp 192.168.1.16:8088: connect: connection refused.  Waiting 2s and retrying (2)...
      2023/08/30 15:19:52 Download shard 0 failed dial tcp 192.168.1.16:8088: connect: connection refused.  Waiting 2s and retrying (3)...
      2023/08/30 15:19:54 Download shard 0 failed dial tcp 192.168.1.16:8088: connect: connection refused.  Waiting 2s and retrying (4)...
      2023/08/30 15:19:56 Download shard 0 failed dial tcp 192.168.1.16:8088: connect: connection refused.  Waiting 2s and retrying (5)...
      2023/08/30 15:19:58 Download shard 0 failed dial tcp 192.168.1.16:8088: connect: connection refused.  Waiting 3.01s and retrying (6)...
      2023/08/30 15:20:01 Download shard 0 failed dial tcp 192.168.1.16:8088: connect: connection refused.  Waiting 11.441s and retrying (7)...
      2023/08/30 15:20:12 Download shard 0 failed dial tcp 192.168.1.16:8088: connect: connection refused.  Waiting 43.477s and retrying (8)...
      2023/08/30 15:20:56 Download shard 0 failed dial tcp 192.168.1.16:8088: connect: connection refused.  Waiting 2m45.216s and retrying (9)...
      backup: dial tcp 192.168.1.16:8088: connect: connection refused
      

      Jemand eine Idee was ich noch machen kann?

      Gruß Johannes

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

        @jojo58

        Wenn die InfluxDB von einem entfernten Server gesichert werden soll, müssen in der influxdb.conf auf dem entfernten Server die Remote-Rechte für den RPC-Dienst angepasst werden.
        
        bind-address = "<InfluxDB-IP>:8088"
        oder
        
        bind-address = "0.0.0.0:8088"
        Nach dem Änderungen in der Konfiguration muss der InfluxDB-Dienst neugestartet werden.
        
        JoJo58 2 Replies Last reply Reply Quote 0
        • JoJo58
          JoJo58 @crunchip last edited by

          @crunchip Guten Morgen,

          das hatte ich gelesen und dort die IP der InfluxDB 192.168.1.16 eingetragen. Habe es jetzt mal anders versucht:

          sudo nano /etc/influxdb/influxdb.conf
          

          dann das geändert auf:

          # Bind address to use for the RPC service for backup and restore.
          # bind-address = "127.0.0.1:8088"
          bind-adress = "0.0.0.0:8088"
          

          und dann den Dienst neu gestartet:

          sudo systemctl restart influxd
          

          Das Ergebnis bleibt leider das Gleiche. Verbindung abgelehnt.
          Ich bin neu was Proxmox angeht, kann es sein das die Verbindung zwischen den Containern und VMs verhindert wird?

          Gruß Johannes

          1 Reply Last reply Reply Quote 0
          • JoJo58
            JoJo58 @crunchip last edited by

            @crunchip Das war das Problem, ich habe bei dem LXC Container unter Netzwerk die Firewall deaktiviert und jetzt läuft das Backup durch 👍
            Danke für deinen Denkanstoß.
            Gruß Johannes

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

            Support us

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

            1.0k
            Online

            32.1k
            Users

            80.7k
            Topics

            1.3m
            Posts

            influxdb backitup remote
            2
            4
            209
            Loading More Posts
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes
            Reply
            • Reply as topic
            Log in to reply
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
            The ioBroker Community 2014-2023
            logo