NEWS
BackitUp und Influxdb 2 Remote
-
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=Linuxden 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 helpWenn 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 argumentHat 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.
-
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=Linuxden 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 helpWenn 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 argumentHat 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.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden