NEWS
[gelöst] backitup Fehler bei backup influxDB
-
Hallo, das ganze System läuft super. Auch der backitup Adapter funktioniert problemlos.
Mit einer Ausnahme die ich einfach nicht in den Griff bekomme:
Der Adapter meldet ein fehlgeschlagenes Backup der influxDB.
lt. Konsolenabfrage existiert aber ein bucket namens iobroker:
Ich verwende influxDB in V2
CLI habe ich installiert.
config existiert auch, Token ist hinterlegt:
in der Adapter Konfiguration kann ich keine Fehler finden, bin am verzweifeln.... und für jede Hilfe dankbar. -
@apcr_-noob
Als erstes:Bitte keine Screenshots, sondern Logs und Protokolle sauber in Codetags </> einbetten.
Am Handy kann das sonst kein Schwein mehr Lesen und zitieren kann man aus einem Screenshot auch nicht.
Auch ein
ìob diag
für nähere Info zu Deiner Installation wäre sinnvoll.https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge
-
@samson71 vielen Dank für die Hinweise, habe mir gerade mal den Thread mit korrektem Posting durchgelesen. Du hast natürlich Recht.
Nun bin ich mir nicht sicher welche Infos aus der iob diag Du genau benötigst?
Als erstes mal die Infos zur Hardware:
Platform : Windows os : win32 Architecture : x64 CPUs : 8 Speed : 3492 MHz Model : Intel(R) Xeon(R) CPU E3-1246 v3 @ 3.50GHz RAM : 31.9 GB System uptime : 06:34:29 Node.js : v22.13.0 time : 1737026516597 timeOffset : -60 NPM : 10.9.2 adapters count : 558 Disk size : 232.0 GiB Disk free : 144.1 GiB
Hier ist das Debug Log von backitup:
C:\ioBroker>iobroker debug backitup.0 Debugger listening on ws://127.0.0.1:9229/4d784936-5197-47fc-9856-152a7786a438 For help, see: https://nodejs.org/en/docs/inspector 2025-01-16 12:26:42.465 - debug: backitup.0 (6660) Redis Objects: Use Redis connection: 127.0.0.1:9001 2025-01-16 12:26:42.481 - debug: backitup.0 (6660) Objects client ready ... initialize now 2025-01-16 12:26:42.482 - debug: backitup.0 (6660) Objects create System PubSub Client 2025-01-16 12:26:42.483 - debug: backitup.0 (6660) Objects create User PubSub Client 2025-01-16 12:26:42.514 - debug: backitup.0 (6660) Objects client initialize lua scripts 2025-01-16 12:26:42.517 - debug: backitup.0 (6660) Objects connected to redis: 127.0.0.1:9001 2025-01-16 12:26:42.537 - debug: backitup.0 (6660) Redis States: Use Redis connection: 127.0.0.1:9000 2025-01-16 12:26:42.544 - debug: backitup.0 (6660) States create System PubSub Client 2025-01-16 12:26:42.545 - debug: backitup.0 (6660) States create User PubSub Client 2025-01-16 12:26:42.557 - debug: backitup.0 (6660) States connected to redis: 127.0.0.1:9000 2025-01-16 12:26:42.574 - debug: backitup.0 (6660) Plugin sentry Initialize Plugin (enabled=true) 2025-01-16 12:26:42.771 - error: backitup.0 (6660) adapter disabled 2025-01-16 12:26:42.852 - info: backitup.0 (6660) starting. Version 3.0.31 in C:/ioBroker/node_modules/iobroker.backitup, node: v22.13.0, js-controller: 7.0.6 2025-01-16 12:26:42.861 - debug: backitup.0 (6660) BackItUp has recognized a win32 system 2025-01-16 12:26:42.888 - info: backitup.0 (6660) [iobroker] backup will be activated at 02:48 every 1 day(s) 2025-01-16 12:26:42.923 - debug: backitup.0 (6660) [iobroker] 10 48 02 */1 * * (node:6660) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created) 2025-01-16 12:26:48.329 - debug: backitup.0 (6660) detect backup file 1 from googledrive: iobroker_2025_01_16-06_20_25_backupiobroker.tar.gz 2025-01-16 12:26:48.330 - debug: backitup.0 (6660) detect backup file 2 from googledrive: iobroker_2025_01_16-06_12_22_backupiobroker.tar.gz 2025-01-16 12:26:48.330 - debug: backitup.0 (6660) detect backup file 3 from googledrive: iobroker_2025_01_16-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.331 - debug: backitup.0 (6660) detect backup file 4 from googledrive: iobroker_2025_01_15-17_56_10_backupiobroker.tar.gz 2025-01-16 12:26:48.332 - debug: backitup.0 (6660) detect backup file 5 from googledrive: iobroker_2025_01_15-17_51_01_backupiobroker.tar.gz 2025-01-16 12:26:48.332 - debug: backitup.0 (6660) detect backup file 6 from googledrive: iobroker_2025_01_15-17_23_03_backupiobroker.tar.gz 2025-01-16 12:26:48.333 - debug: backitup.0 (6660) detect backup file 7 from googledrive: iobroker_2025_01_15-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.334 - debug: backitup.0 (6660) detect backup file 8 from googledrive: iobroker_2025_01_14-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.335 - debug: backitup.0 (6660) detect backup file 9 from googledrive: iobroker_2025_01_13-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.337 - debug: backitup.0 (6660) detect backup file 10 from googledrive: iobroker_2025_01_12-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.338 - debug: backitup.0 (6660) detect backup file 11 from googledrive: iobroker_2025_01_11-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.338 - debug: backitup.0 (6660) detect backup file 12 from googledrive: iobroker_2025_01_10-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.339 - debug: backitup.0 (6660) detect backup file 13 from googledrive: iobroker_2025_01_09-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.340 - debug: backitup.0 (6660) detect backup file 14 from googledrive: iobroker_2025_01_08-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.340 - debug: backitup.0 (6660) detect backup file 15 from googledrive: iobroker_2025_01_07-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.341 - debug: backitup.0 (6660) detect backup file 16 from googledrive: iobroker_2025_01_06-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.342 - debug: backitup.0 (6660) detect backup file 17 from googledrive: iobroker_2025_01_05-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.343 - debug: backitup.0 (6660) detect backup file 18 from googledrive: iobroker_2025_01_04-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.343 - debug: backitup.0 (6660) detect backup file 19 from googledrive: iobroker_2025_01_03-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.344 - debug: backitup.0 (6660) detect backup file 20 from googledrive: iobroker_2025_01_02-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.345 - debug: backitup.0 (6660) detect backup file 21 from googledrive: iobroker_2025_01_01-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.354 - debug: backitup.0 (6660) detect backup file 22 from googledrive: iobroker_2024_12_31-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.354 - debug: backitup.0 (6660) detect backup file 23 from googledrive: iobroker_2024_12_30-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.355 - debug: backitup.0 (6660) detect backup file 24 from googledrive: iobroker_2024_12_29-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.356 - debug: backitup.0 (6660) detect backup file 25 from googledrive: iobroker_2024_12_28-10_52_46_backupiobroker.tar.gz 2025-01-16 12:26:48.356 - debug: backitup.0 (6660) detect backup file 26 from googledrive: iobroker_2024_12_28-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.357 - debug: backitup.0 (6660) detect backup file 27 from googledrive: iobroker_2024_12_27-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.358 - debug: backitup.0 (6660) detect backup file 28 from googledrive: iobroker_2024_12_26-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.358 - debug: backitup.0 (6660) detect backup file 29 from googledrive: iobroker_2024_12_25-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.359 - debug: backitup.0 (6660) detect backup file 30 from googledrive: iobroker_2024_12_24-02_48_10_backupiobroker.tar.gz 2025-01-16 12:26:48.360 - debug: backitup.0 (6660) detect last backup file: iobroker_2025_01_16-06_20_25_backupiobroker.tar.gz 2025-01-16 12:32:54.510 - debug: backitup.0 (6660) Backup has started ... 2025-01-16 12:32:54.703 - error: backitup.0 (6660) [iobroker/iobroker] Starting inspector on 127.0.0.1:9229 failed: address already in use 2025-01-16 12:32:56.814 - debug: backitup.0 (6660) [iobroker/iobroker] host.Server-ISPY-FHEM 7593 objects saved 2025-01-16 12:32:57.110 - debug: backitup.0 (6660) [iobroker/iobroker] host.Server-ISPY-FHEM 5491 states saved 2025-01-16 12:32:57.111 - debug: backitup.0 (6660) [iobroker/iobroker] host.Server-ISPY-FHEM Validating backup ... 2025-01-16 12:32:57.111 - debug: backitup.0 (6660) [iobroker/iobroker] host.Server-ISPY-FHEM "config.json" is valid 2025-01-16 12:32:57.114 - debug: backitup.0 (6660) [iobroker/iobroker] host.Server-ISPY-FHEM "objects.jsonl" exists 2025-01-16 12:32:57.115 - debug: backitup.0 (6660) [iobroker/iobroker] host.Server-ISPY-FHEM "states.jsonl" exists 2025-01-16 12:32:57.311 - debug: backitup.0 (6660) [iobroker/iobroker] host.Server-ISPY-FHEM JSONL lines are valid 2025-01-16 12:32:57.321 - debug: backitup.0 (6660) [iobroker/iobroker] host.Server-ISPY-FHEM The backup is valid! 2025-01-16 12:32:57.670 - debug: backitup.0 (6660) [iobroker/iobroker] Backup created: C:\ioBroker\backups\iobroker_2025_01_16-12_32_54_backupiobroker.tar.gz 2025-01-16 12:32:57.671 - debug: backitup.0 (6660) [iobroker/iobroker] This backup can only be restored with js-controller version 7.0 or higher 2025-01-16 12:32:58.699 - debug: backitup.0 (6660) [iobroker/iobroker] done 2025-01-16 12:32:58.851 - debug: backitup.0 (6660) [iobroker/influxDB] InfluxDB-Backup started ... 2025-01-16 12:32:58.852 - debug: backitup.0 (6660) [iobroker/influxDB] Start InfluxDB Backup ... 2025-01-16 12:32:58.854 - debug: backitup.0 (6660) [iobroker/influxDB] InfluxDB Backup tmp directory created 2025-01-16 12:32:58.993 - debug: backitup.0 (6660) [iobroker/influxDB] Try deleting the InfluxDB tmp directory: "C:\ioBroker\backups\influxDB_2025_01_16-12_32_58_backupiobroker" 2025-01-16 12:32:58.996 - debug: backitup.0 (6660) [iobroker/influxDB] InfluxDB tmp directory "C:\ioBroker\backups\influxDB_2025_01_16-12_32_58_backupiobroker" successfully deleted 2025-01-16 12:32:58.997 - error: backitup.0 (6660) [iobroker/influxDB] Error: Command failed: "C:\Program Files\InfluxData\influxdb\influxd.exe" backup --bucket iobroker -t XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXdPMDd4tjc87dfRDGPjqJRramYorYVU25xXtR2l_IDg== "C:\ioBroker\backups\influxDB_2025_01_16-12_32_58_backupiobroker" 2025-01-16 12:32:58.997 - error: backitup.0 (6660) [iobroker/influxDB] Error: unknown flag: --bucket 2025-01-16 12:32:58.998 - error: backitup.0 (6660) [iobroker/influxDB] See 'influxd -h' for help 2025-01-16 12:32:58.999 - error: backitup.0 (6660) [iobroker] Error: Command failed: "C:\Program Files\InfluxData\influxdb\influxd.exe" backup --bucket iobroker -t XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX87dfRDGPjqJRramYorYVU25xXtR2l_IDg== "C:\ioBroker\backups\influxDB_2025_01_16-12_32_58_backupiobroker" Error: unknown flag: --bucket See 'influxd -h' for help 2025-01-16 12:32:59.000 - debug: backitup.0 (6660) [iobroker/influxDB] InfluxDB-Backup for is finish 2025-01-16 12:32:59.001 - debug: backitup.0 (6660) [iobroker/influxDB] done 2025-01-16 12:32:59.790 - debug: backitup.0 (6660) [iobroker/historyDB] compress from historyDB started ... 2025-01-16 12:32:59.989 - debug: backitup.0 (6660) [iobroker/historyDB] Backup created: C:\ioBroker\backups\historyDB_2025_01_16-12_32_59_backupiobroker.tar.gz 2025-01-16 12:32:59.990 - debug: backitup.0 (6660) [iobroker/historyDB] done 2025-01-16 12:33:00.927 - debug: backitup.0 (6660) [iobroker/javascripts] Created javascript_tmp directory: "C:/ioBroker/backups/tmpScripts" 2025-01-16 12:33:00.958 - debug: backitup.0 (6660) [iobroker/javascripts] found Script: wenn_Temperatur_Pufferspeicher_aus_dann_Pelletheizung_an 2025-01-16 12:33:01.114 - debug: backitup.0 (6660) [iobroker/javascripts] found Script: wenn_Temperatur_Pufferspeicher_an_dann_Pelletheizung_aus 2025-01-16 12:33:01.275 - debug: backitup.0 (6660) [iobroker/javascripts] Try deleting the Javascript tmp directory: "C:/ioBroker/backups/tmpScripts" 2025-01-16 12:33:01.276 - debug: backitup.0 (6660) [iobroker/javascripts] Javascript tmp directory "C:/ioBroker/backups/tmpScripts" successfully deleted 2025-01-16 12:33:01.277 - debug: backitup.0 (6660) [iobroker/javascripts] Backup created: C:\ioBroker\backups\javascripts_2025_01_16-12_33_00_backupiobroker.tar.gz 2025-01-16 12:33:01.278 - debug: backitup.0 (6660) [iobroker/javascripts] done 2025-01-16 12:33:02.694 - debug: backitup.0 (6660) [iobroker/googledrive] Google Drive: Copy iobroker_2025_01_16-12_32_54_backupiobroker.tar.gz... 2025-01-16 12:33:05.022 - error: backitup.0 (6660) [iobroker/googledrive] Google Drive: File "C:/ioBroker/backups/influxDB_2025_01_16-12_32_58_backupiobroker.tar.gz" not found 2025-01-16 12:33:05.176 - debug: backitup.0 (6660) [iobroker/googledrive] Google Drive: Copy historyDB_2025_01_16-12_32_59_backupiobroker.tar.gz... 2025-01-16 12:33:07.020 - debug: backitup.0 (6660) [iobroker/googledrive] Google Drive: Copy javascripts_2025_01_16-12_33_00_backupiobroker.tar.gz... 2025-01-16 12:33:09.642 - debug: backitup.0 (6660) [iobroker/googledrive] Google Drive: delete iobroker_2024_12_24-02_48_10_backupiobroker.tar.gz 2025-01-16 12:33:10.425 - debug: backitup.0 (6660) [iobroker/googledrive] Google Drive: delete historyDB_2024_12_24-02_48_15_backupiobroker.tar.gz 2025-01-16 12:33:11.192 - debug: backitup.0 (6660) [iobroker/googledrive] Google Drive: delete javascripts_2024_12_24-02_48_16_backupiobroker.tar.gz 2025-01-16 12:33:11.912 - debug: backitup.0 (6660) [iobroker/googledrive] done 2025-01-16 12:33:12.069 - error: backitup.0 (6660) [iobroker/clean] Backup files not deleted from C:/ioBroker/backups because some errors. 2025-01-16 12:33:12.069 - debug: backitup.0 (6660) [iobroker/clean] done 2025-01-16 12:33:12.225 - debug: backitup.0 (6660) [iobroker/historyHTML] new history html values created 2025-01-16 12:33:12.231 - debug: backitup.0 (6660) [iobroker/historyHTML] done 2025-01-16 12:33:12.401 - debug: backitup.0 (6660) [iobroker/historyJSON] new history json values created 2025-01-16 12:33:12.402 - debug: backitup.0 (6660) [iobroker/historyJSON] done 2025-01-16 12:33:12.893 - debug: backitup.0 (6660) [iobroker/email] [iobroker] used E-Mail-Instance: email.0 2025-01-16 12:33:12.893 - debug: backitup.0 (6660) [iobroker/email] done 2025-01-16 12:33:14.990 - debug: backitup.0 (6660) [iobroker/notification] Admin notification will be sent 2025-01-16 12:33:14.991 - debug: backitup.0 (6660) [iobroker/notification] done 2025-01-16 12:33:15.146 - debug: backitup.0 (6660) [iobroker] exec: done
anscheinend ist das hier der Fehler:
2025-01-16 12:32:58.997 - error: backitup.0 (6660) [iobroker/influxDB] Error: Command failed: "C:\Program Files\InfluxData\influxdb\influxd.exe" backup --bucket iobroker -t XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXdfRDGPjqJRramYorYVU25xXtR2l_IDg== "C:\ioBroker\backups\influxDB_2025_01_16-12_32_58_backupiobroker" 2025-01-16 12:32:58.997 - error: backitup.0 (6660) [iobroker/influxDB] Error: unknown flag: --bucket
Dabei existiert ja ein bucket namens iobroker?:
C:\Program Files\InfluxData\influx>influx bucket list ID Name Retention Shard group duration Organization ID Schema Type 3dcf61b45afa3d9e _monitoring 168h0m0s 24h0m0s fdaed016585a2f6c implicit fdaed016585a2f6c _tasks 72h0m0s 24h0m0s fdaed016585a2f6c implicit 923a03863b26780f iobroker 17520h0m0s 168h0m0s fdaed016585a2f6c implicit
Ich hoffe jetzt ist alles korrekt im Beitrag?
-
@apcr_-noob sagte in backitup Fehler bei backup influxDB:
"C:\Program Files\InfluxData\influxdb\influxd.exe" backup --bucket iobroker -t XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXdPMDd4tjc87dfRDGPjqJRramYorYVU25xXtR2l_IDg== "C:\ioBroker\backups\influxDB_2025_01_16-12_32_58_backupiobroker"
Unter influxdb2 macht "influx" bzw. "influx.exe" das Backup. Also einfach das "d" streichen, dann sollte es funktionieren.
EDIT: die Clientkomponente muss natürlich installiert sein
-
Die Welt kann sooooo einfach sein
Unter influxdb2 macht "influx" bzw. "influx.exe" das Backup. Also einfach das "d" streichen, dann sollte es funktionieren.
Das war die Lösung..... Hat mich Tage gekostet
Danke für die schnelle, kompetente Hilfe
Von mir aus kann der Thread als gelöst markiert werden.
-
@apcr_-noob sagte in backitup Fehler bei backup influxDB:
Von mir aus kann der Thread als gelöst markiert werden.
Mach's selbst: deinen ersten Post editieren und "gelöst" vor die Überschrift setzen. Auch ganz einfach.
-
@apcr_-noob sagte in backitup Fehler bei backup influxDB:
Von mir aus kann der Thread als gelöst markiert werden.
dann mach das!
Eröffnungspost editieren und [gelöst] vor den Titel schreiben -
@homoran @Marc-Berg ah, ok danke, hab ich gemacht, dachte das kann nur ein Admin
-
@apcr_-noob sagte in [gelöst] backitup Fehler bei backup influxDB:
Hat mich Tage gekostet
Wobei dich eine Forums-Suche nach
Error: unknown flag: --bucket
in Sekunden zu einer Lösung gebracht hätte. Ich sach' ja nur...