Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. BackitUp und Influxdb 2 Remote

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    BackitUp und Influxdb 2 Remote

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

      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 Reply Last reply Reply Quote 0
      • M
        Mitch @Mitch last edited by

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

        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

        480
        Online

        31.9k
        Users

        80.1k
        Topics

        1.3m
        Posts

        1
        2
        364
        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