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. BackitUp und Influxdb 2 Remote

NEWS

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

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

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

BackitUp und Influxdb 2 Remote

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
2 Beiträge 1 Kommentatoren 440 Aufrufe
  • Ä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.
  • M Offline
    M Offline
    Mitch
    schrieb am zuletzt editiert von
    #1

    Hi,

    ich wollte gerne meine auf der Synolgy liegende Influxdb 2 sichern:
    https://github.com/simatec/ioBroker.backitup/blob/master/docs/de/backitup.md#InfluxDB-Backup
    https://docs.influxdata.com/influxdb/v2.1/tools/influx-cli/?t=Linux

    den zweiten Link habe ich bis zur Installation der InfluxCLI durchgeführt. D.h. auf meiner Serverkonsole kann ich influxcli starten (natürlich wie beschrieben auf der iobroker Installation):

    root@mm-iobroker:~# influx
    NAME:
       influx - Influx Client
    
    USAGE:
       influx [command]
    
    COMMANDS:
       version              Print the influx CLI version
       ping                 Check the InfluxDB /health endpoint
       setup                Setup instance with initial user, org, bucket
       write                Write points to InfluxDB
       bucket               Bucket management commands
       completion           Generates completion scripts
       bucket-schema        Bucket schema management commands
       query                Execute a Flux query
       config               Config management commands
       org, organization    Organization management commands
       delete               Delete points from InfluxDB
       user                 User management commands
       task                 Task management commands
       backup               Backup database
       restore              Restores a backup directory to InfluxDB
       telegrafs            List Telegraf configuration(s). Subcommands manage Telegraf configurations.
       dashboards           List Dashboard(s).
       export               Export existing resources as a template
       secret               Secret management commands
       v1                   InfluxDB v1 management commands
       auth, authorization  Authorization management commands
       apply                Apply a template to manage resources
       stacks               List stack(s) and associated templates. Subcommands manage stacks.
       template             Summarize the provided template
       help, h              Shows a list of commands or help for one command
    
    GLOBAL OPTIONS:
       --help, -h  show help
    

    Wenn ich dann aber mittels BackitUp die DB sichern will passiert folgendes:

    [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.15.5:8086 -t  "/opt/iobroker/backups/influxDB_2023_02_28-23_57_49_backupiobroker"
    Error: backup path must be specified as a single positional argument
    

    Hat jemand eine Idee, warum das nicht klappt? Die InfluxDB lässt sich auf jedenfall im ioBroker nutzen, sprich Werte loggen und auch z.B. über Echart anzeigen.

    M 1 Antwort Letzte Antwort
    0
    • M Mitch

      Hi,

      ich wollte gerne meine auf der Synolgy liegende Influxdb 2 sichern:
      https://github.com/simatec/ioBroker.backitup/blob/master/docs/de/backitup.md#InfluxDB-Backup
      https://docs.influxdata.com/influxdb/v2.1/tools/influx-cli/?t=Linux

      den zweiten Link habe ich bis zur Installation der InfluxCLI durchgeführt. D.h. auf meiner Serverkonsole kann ich influxcli starten (natürlich wie beschrieben auf der iobroker Installation):

      root@mm-iobroker:~# influx
      NAME:
         influx - Influx Client
      
      USAGE:
         influx [command]
      
      COMMANDS:
         version              Print the influx CLI version
         ping                 Check the InfluxDB /health endpoint
         setup                Setup instance with initial user, org, bucket
         write                Write points to InfluxDB
         bucket               Bucket management commands
         completion           Generates completion scripts
         bucket-schema        Bucket schema management commands
         query                Execute a Flux query
         config               Config management commands
         org, organization    Organization management commands
         delete               Delete points from InfluxDB
         user                 User management commands
         task                 Task management commands
         backup               Backup database
         restore              Restores a backup directory to InfluxDB
         telegrafs            List Telegraf configuration(s). Subcommands manage Telegraf configurations.
         dashboards           List Dashboard(s).
         export               Export existing resources as a template
         secret               Secret management commands
         v1                   InfluxDB v1 management commands
         auth, authorization  Authorization management commands
         apply                Apply a template to manage resources
         stacks               List stack(s) and associated templates. Subcommands manage stacks.
         template             Summarize the provided template
         help, h              Shows a list of commands or help for one command
      
      GLOBAL OPTIONS:
         --help, -h  show help
      

      Wenn ich dann aber mittels BackitUp die DB sichern will passiert folgendes:

      [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.15.5:8086 -t  "/opt/iobroker/backups/influxDB_2023_02_28-23_57_49_backupiobroker"
      Error: backup path must be specified as a single positional argument
      

      Hat jemand eine Idee, warum das nicht klappt? Die InfluxDB lässt sich auf jedenfall im ioBroker nutzen, sprich Werte loggen und auch z.B. über Echart anzeigen.

      M Offline
      M Offline
      Mitch
      schrieb am zuletzt editiert von
      #2

      Ich Held der Nacht sollte natürlich auch den Token in BackItUp hinterlegen!
      Jetzt geht es !

      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

      667

      Online

      32.4k

      Benutzer

      81.5k

      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