NEWS
Test Adapter ioBroker.backitup v3.1.x
-
Ich habe seit heute einen neuen Rechner, auf dem ich Proxmox installiert habe. Der soll dann mein produktiver Rechner werden. Da ich ja mit der iob-Installation bzgl. Backitup massive Probleme habe, hatte ich heute gut die Hälfte der Instanzen gelöscht, Update & Ugrade mit Reboot durchgeführt und dann gedacht, das er heute vlt. den iob schafft zu sichern; leider nein:
Started iobroker ... [DEBUG] [mount] - noserverino option: false [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.178.23/backup/ioBroker /opt/iobroker/backups" [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [iobroker] - host.ioBroker 89446 states saved [DEBUG] [iobroker] - host.ioBroker 118256 objects saved [ERROR] [iobroker] - <--- Last few GCs ---> [24831:0x576cc58] 127861 ms: Scavenge 957.2 (964.7) -> 957.1 (965.4) MB, 16.5 / 0.0 ms (average mu = 0.805, current mu = 0.800) allocation failure [24831:0x576cc58] 128158 ms: Mark-sweep (reduce) 958.1 (965.4) -> 958.1 (964.4) MB, 244.2 / 0.0 ms (+ 16.1 ms in 15 steps since start of marking, biggest step 4.5 ms, walltime since start of marking 297 ms) (average mu = 0.741, current mu = 0.377) allo <--- JS stacktrace ---> FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory [DEBUG] [iobroker] - done [DEBUG] [influxDB] - InfluxDB-Backup started ... [DEBUG] [influxDB] - Start InfluxDB Backup ... [DEBUG] [influxDB] - InfluxDB Backup tmp directory created [DEBUG] [influxDB] - Packed 32MB so far... [DEBUG] [influxDB] - Backup created: /opt/iobroker/backups/influxDB_2022_07_14-14_32_14_backupiobroker.tar.gz [DEBUG] [influxDB] - Try deleting the InfluxDB tmp directory [DEBUG] [influxDB] - InfluxDB tmp directory was successfully deleted [DEBUG] [influxDB] - InfluxDB-Backup for is finish [DEBUG] [influxDB] - done [DEBUG] [grafana] - Start Grafana Backup ... [DEBUG] [grafana] - Created grafana_tmp directory: "/opt/iobroker/backups/grafana_tmp" [DEBUG] [grafana] - Created dashboard directory [DEBUG] [grafana] - Created dashboards_manually_restore directory [DEBUG] [grafana] - Created datasource directory [DEBUG] [grafana] - start Grafana request ... [DEBUG] [grafana] - Grafana is not available: Error: connect ECONNREFUSED 192.168.178.21:3000 [DEBUG] [grafana] - Grafana is not available! [DEBUG] [grafana] - Try deleting the Grafana tmp directory: "/opt/iobroker/backups/grafana_tmp" [DEBUG] [grafana] - Grafana tmp directory "/opt/iobroker/backups/grafana_tmp" successfully deleted [DEBUG] [grafana] - Grafana Backup cannot created ... [DEBUG] [grafana] - done [DEBUG] [javascripts] - Created javascript_tmp directory: "/opt/iobroker/backups/tmpScripts" [DEBUG] [javascripts] - found Script: AlexaSagWas [DEBUG] [javascripts] - found Script: Aliase_Erzeugen [DEBUG] [javascripts] - found Script: Astro [DEBUG] [javascripts] - found Script: Aufräumen [DEBUG] [javascripts] - found Script: Azimun_Elevation [DEBUG] [javascripts] - found Script: Batteriestand_überwachen [DEBUG] [javascripts] - found Script: Benzinpreise [DEBUG] [javascripts] - found Script: Codeschloss [DEBUG] [javascripts] - found Script: Countdown [DEBUG] [javascripts] - found Script: Datenpunkte_Erzeugen [DEBUG] [javascripts] - found Script: EG_Toilette_Rolladen_Schalter [DEBUG] [javascripts] - found Script: Fire7_laden [DEBUG] [javascripts] - found Script: Flur_EG_Lampe_Steuern [DEBUG] [javascripts] - found Script: Froni [DEBUG] [javascripts] - found Script: Froni_Start [DEBUG] [javascripts] - found Script: HM_Switch [DEBUG] [javascripts] - found Script: HP_P2015_An_Aus [DEBUG] [javascripts] - found Script: Haustürklingel [DEBUG] [javascripts] - found Script: Küche_Lampen_Steuern [DEBUG] [javascripts] - found Script: Lager_Lampen_Steuern [DEBUG] [javascripts] - found Script: Licht_KG_NAS_&_USV [DEBUG] [javascripts] - found Script: Liste_HM-Geräte [DEBUG] [javascripts] - found Script: MQTT_Test [DEBUG] [javascripts] - found Script: MduiLogHMDevices [DEBUG] [javascripts] - found Script: Murks [DEBUG] [javascripts] - found Script: NetzwerkStatusFritzBox [DEBUG] [javascripts] - found Script: OG_Bad_Rolladen_Spiegel [DEBUG] [javascripts] - found Script: Online_Check [DEBUG] [javascripts] - found Script: PIR_Duration [DEBUG] [javascripts] - found Script: PIR_EG_Flur [DEBUG] [javascripts] - found Script: PIR_Kopieren [DEBUG] [javascripts] - found Script: PIR_OG_Flur [DEBUG] [javascripts] - found Script: PV-Anlage_Kosten_Bezug [DEBUG] [javascripts] - found Script: PV_Berechnungen [DEBUG] [javascripts] - found Script: Party_Lampen_Steuern [DEBUG] [javascripts] - found Script: QQ_rufen [DEBUG] [javascripts] - found Script: Rolladensteuerung_Manuell [DEBUG] [javascripts] - found Script: Schlafzimmer_Yeelight_Steuern [DEBUG] [javascripts] - found Script: Shelly_Rolladen_HM_Taster [DEBUG] [javascripts] - found Script: Shelly_Status [DEBUG] [javascripts] - found Script: Shelly_Verbrauchswerte [DEBUG] [javascripts] - found Script: Skript_1 [DEBUG] [javascripts] - found Script: Sprachausgabe_alle_Geräte [DEBUG] [javascripts] - found Script: T2C_Telegram [DEBUG] [javascripts] - found Script: TFK_Zählen [DEBUG] [javascripts] - found Script: Taupunkt [DEBUG] [javascripts] - found Script: Test [DEBUG] [javascripts] - found Script: Timer [DEBUG] [javascripts] - found Script: Treppenhaus_Rolladen_Schalter [DEBUG] [javascripts] - found Script: TürFenster_Offen [DEBUG] [javascripts] - found Script: USV [DEBUG] [javascripts] - found Script: USV_Berechnungen [DEBUG] [javascripts] - found Script: Unifi_Netzwerk [DEBUG] [javascripts] - found Script: Unifi_Netzwerk_Neu [DEBUG] [javascripts] - found Script: Userstates_besondere_Uhr [DEBUG] [javascripts] - found Script: VIS_Alexa [DEBUG] [javascripts] - found Script: View_Wechsel [DEBUG] [javascripts] - found Script: Wallpanel_States_MQTT [DEBUG] [javascripts] - found Script: Skript_1 [DEBUG] [javascripts] - found Script: Skript_2 [DEBUG] [javascripts] - found Script: Skript_3 [DEBUG] [javascripts] - found Script: Spülmaschine_Fertig [DEBUG] [javascripts] - found Script: Trockner_Fertig [DEBUG] [javascripts] - found Script: Waschmaschine_Fertig [DEBUG] [javascripts] - found Script: Wetter [DEBUG] [javascripts] - found Script: Yeelight_An_Aus [DEBUG] [javascripts] - found Script: Zeit [DEBUG] [javascripts] - found Script: BattUeberwachung [DEBUG] [javascripts] - found Script: Wetterstation [DEBUG] [javascripts] - found Script: Userstates_anlegen [DEBUG] [javascripts] - found Script: RGB_Kühltruhe [DEBUG] [javascripts] - found Script: Fronius_Solarweb [DEBUG] [javascripts] - found Script: Sonoff_Tabelle [DEBUG] [javascripts] - found Script: Carport_Licht [DEBUG] [javascripts] - found Script: NAS_Stream_holen [DEBUG] [javascripts] - Try deleting the Javascript tmp directory: "/opt/iobroker/backups/tmpScripts" [DEBUG] [javascripts] - Javascript tmp directory "/opt/iobroker/backups/tmpScripts" successfully deleted [DEBUG] [javascripts] - Backup created: /opt/iobroker/backups/javascripts_2022_07_14-14_32_51_backupiobroker.tar.gz [DEBUG] [javascripts] - done [DEBUG] [yahka] - found yahka database: yahka.0 [DEBUG] [yahka] - done [DEBUG] [cifs] - used copy path: /backup/ioBroker [DEBUG] [cifs] - done [DEBUG] [clean] - done [DEBUG] [pushover] - done [DEBUG] [historyHTML] - new history html values created [DEBUG] [historyHTML] - done [DEBUG] [historyJSON] - new history json values created [DEBUG] [historyJSON] - done [DEBUG] [umount] - mount activ, umount is started ... [DEBUG] [umount] - umount successfully completed [DEBUG] [umount] - done [EXIT] 0Ehrlich gesagt, weiß ich nicht wo die vielen States & Objekte herkommen

Ohne Backup muss ich fast alles wieder neu aufbauen auf dem neuen PC. Was kann ich noch machen?
@qqolli sagte in Test Adapter ioBroker.backitup v2.4.x:
Ehrlich gesagt, weiß ich nicht wo die vielen States & Objekte herkommen
es gibt ein paar Kandidaten, die unötig viele anlegen
einfach nachsehen, klick dich durch,
-
@qqolli sagte in Test Adapter ioBroker.backitup v2.4.x:
Ehrlich gesagt, weiß ich nicht wo die vielen States & Objekte herkommen
es gibt ein paar Kandidaten, die unötig viele anlegen
einfach nachsehen, klick dich durch,
Das war eine guter Tipp:

Die 106232 Objekte zu löschen hat bis jetzt gedauert:
$ iobroker del fronius-solarweb.0 Delete instance "fronius-solarweb.0" host.ioBroker Counted 1 instances of fronius-solarweb.0 host.ioBroker Counted 5 devices of fronius-solarweb.0 host.ioBroker Counted 26320 channels of fronius-solarweb.0 host.ioBroker Counted 79890 states of fronius-solarweb.0 host.ioBroker Counted 15 states of system.adapter.fronius-solarweb.0 host.ioBroker Counted 79889 states (io.fronius-solarweb.0.*) from states host.ioBroker Counted 15 states (system.adapter.fronius-solarweb.0.*) from states host.ioBroker Counted 1 objects of fronius-solarweb.0 host.ioBroker Deleting 106232 object(s). Be patient...Und endlich geht jetzt auch wieder der iobroker Backup:
Started iobroker ... [DEBUG] [mount] - noserverino option: false [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.178.23/backup/ioBroker /opt/iobroker/backups" [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [iobroker] - host.ioBroker 9520 states saved [DEBUG] [iobroker] - host.ioBroker 12024 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_07_14-16_48_51_backupiobroker.tar.gz -
Das war eine guter Tipp:

Die 106232 Objekte zu löschen hat bis jetzt gedauert:
$ iobroker del fronius-solarweb.0 Delete instance "fronius-solarweb.0" host.ioBroker Counted 1 instances of fronius-solarweb.0 host.ioBroker Counted 5 devices of fronius-solarweb.0 host.ioBroker Counted 26320 channels of fronius-solarweb.0 host.ioBroker Counted 79890 states of fronius-solarweb.0 host.ioBroker Counted 15 states of system.adapter.fronius-solarweb.0 host.ioBroker Counted 79889 states (io.fronius-solarweb.0.*) from states host.ioBroker Counted 15 states (system.adapter.fronius-solarweb.0.*) from states host.ioBroker Counted 1 objects of fronius-solarweb.0 host.ioBroker Deleting 106232 object(s). Be patient...Und endlich geht jetzt auch wieder der iobroker Backup:
Started iobroker ... [DEBUG] [mount] - noserverino option: false [DEBUG] [mount] - cifs-mount command: "sudo mount -t cifs -o username=backup,password=****,rw,file_mode=0777,dir_mode=0777,vers=3.1.1 //192.168.178.23/backup/ioBroker /opt/iobroker/backups" [DEBUG] [mount] - mount successfully completed [DEBUG] [mount] - done [DEBUG] [iobroker] - host.ioBroker 9520 states saved [DEBUG] [iobroker] - host.ioBroker 12024 objects saved [DEBUG] [iobroker] - Backup created: /opt/iobroker/backups/iobroker_2022_07_14-16_48_51_backupiobroker.tar.gz@qqolli sagte in Test Adapter ioBroker.backitup v2.4.x:
fronius
ist bekannt, da gab es deswegen auch schon in einem Thread etwas , bzw besteht ein issue dazu
-
Ab sofort steht die Version 2.4.11 auf Github und in Kürze auch im latest zur Verfügung.
Changelog
2.4.11 (2022-08-10)
- (simatec) Filesize Check added
- (simatec) dependencies updated
- (simatec) Fix mySql Backup
- (simatec) Fix pgSql Backup
-
Ab sofort steht die Version 2.4.13 zum testen auf Github und im latest zur Verfügung.
Changelog
2.4.13 (2022-09-28)
- (simatec) dependencies updated
- (simatec) Fix Grafana Backup
- (simatec) Appveyor testing removed
- (simatec) Fix Test & Release
-
Aktuelle Test Version 3.1.0 Veröffentlichungsdatum 02.03.2025 Github Link https://github.com/simatec/ioBroker.backitup Wiki Link https://github.com/simatec/ioBroker.backitup/wiki Hier geht es um die aktuelle Version von ioBroker.backitup, nachdem der alte Thread langsam zu unübersichtlich wurde.
Bitte gebt euer Feedback und eure Anregungen hier ab.Hallo, nach Update auf 2.4.15 kommt folgende Meldung:
backitup.0 2022-10-04 08:54:34.234 warn Cannot read log file: TypeError: tools.getConfigFileName is not a function backitup.0 2022-10-04 08:54:34.233 error cannot create startIOB.bat: TypeError: tools.getConfigFileName is not a functionPlease run "iobroker fix" backitup.0 2022-10-04 08:54:34.232 error cannot create stopIOB.bat: TypeError: tools.getConfigFileName is not a functionPlease run "iobroker fix" backitup.0 2022-10-04 08:54:34.207 info starting. Version 2.4.15 in C:/ioBroker/node_modules/iobroker.backitup, node: v16.17.1, js-controller: 4.0.23 backitup.0 2022-10-04 08:54:10.588 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason backitup.0 2022-10-04 08:54:10.587 info terminating backitup.0 2022-10-04 08:54:10.587 info cleaned everything up... backitup.0 2022-10-04 08:54:10.580 info Got terminate signal TERMINATE_YOURSELFPlattform: Windows RAM: 16 GB NODE.JS: V16.17.1 NPM: 8.11.0 JS Controller: 4.0.23 Admin: 6.2.22 -
Hallo, nach Update auf 2.4.15 kommt folgende Meldung:
backitup.0 2022-10-04 08:54:34.234 warn Cannot read log file: TypeError: tools.getConfigFileName is not a function backitup.0 2022-10-04 08:54:34.233 error cannot create startIOB.bat: TypeError: tools.getConfigFileName is not a functionPlease run "iobroker fix" backitup.0 2022-10-04 08:54:34.232 error cannot create stopIOB.bat: TypeError: tools.getConfigFileName is not a functionPlease run "iobroker fix" backitup.0 2022-10-04 08:54:34.207 info starting. Version 2.4.15 in C:/ioBroker/node_modules/iobroker.backitup, node: v16.17.1, js-controller: 4.0.23 backitup.0 2022-10-04 08:54:10.588 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason backitup.0 2022-10-04 08:54:10.587 info terminating backitup.0 2022-10-04 08:54:10.587 info cleaned everything up... backitup.0 2022-10-04 08:54:10.580 info Got terminate signal TERMINATE_YOURSELFPlattform: Windows RAM: 16 GB NODE.JS: V16.17.1 NPM: 8.11.0 JS Controller: 4.0.23 Admin: 6.2.22 -
Hallo, nach Update auf 2.4.15 kommt folgende Meldung:
backitup.0 2022-10-04 08:54:34.234 warn Cannot read log file: TypeError: tools.getConfigFileName is not a function backitup.0 2022-10-04 08:54:34.233 error cannot create startIOB.bat: TypeError: tools.getConfigFileName is not a functionPlease run "iobroker fix" backitup.0 2022-10-04 08:54:34.232 error cannot create stopIOB.bat: TypeError: tools.getConfigFileName is not a functionPlease run "iobroker fix" backitup.0 2022-10-04 08:54:34.207 info starting. Version 2.4.15 in C:/ioBroker/node_modules/iobroker.backitup, node: v16.17.1, js-controller: 4.0.23 backitup.0 2022-10-04 08:54:10.588 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason backitup.0 2022-10-04 08:54:10.587 info terminating backitup.0 2022-10-04 08:54:10.587 info cleaned everything up... backitup.0 2022-10-04 08:54:10.580 info Got terminate signal TERMINATE_YOURSELFPlattform: Windows RAM: 16 GB NODE.JS: V16.17.1 NPM: 8.11.0 JS Controller: 4.0.23 Admin: 6.2.22 -
@sigi234 Das selbe Problem habe ich auch. Ein Backup kann jetzt nicht mehr ausgeführt werden.
Ich traue mich nicht "iobroker fix" auszuführen... nicht das dann irgendwas anderes auch nicht mehr geht.
@alexmi sagte in Test Adapter ioBroker.backitup v2.4.x:
Ich traue mich nicht "iobroker fix" auszuführen...
iobroker fixkann immer ausgeführt werden.
-
Hallo, nach Update auf 2.4.15 kommt folgende Meldung:
backitup.0 2022-10-04 08:54:34.234 warn Cannot read log file: TypeError: tools.getConfigFileName is not a function backitup.0 2022-10-04 08:54:34.233 error cannot create startIOB.bat: TypeError: tools.getConfigFileName is not a functionPlease run "iobroker fix" backitup.0 2022-10-04 08:54:34.232 error cannot create stopIOB.bat: TypeError: tools.getConfigFileName is not a functionPlease run "iobroker fix" backitup.0 2022-10-04 08:54:34.207 info starting. Version 2.4.15 in C:/ioBroker/node_modules/iobroker.backitup, node: v16.17.1, js-controller: 4.0.23 backitup.0 2022-10-04 08:54:10.588 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason backitup.0 2022-10-04 08:54:10.587 info terminating backitup.0 2022-10-04 08:54:10.587 info cleaned everything up... backitup.0 2022-10-04 08:54:10.580 info Got terminate signal TERMINATE_YOURSELFPlattform: Windows RAM: 16 GB NODE.JS: V16.17.1 NPM: 8.11.0 JS Controller: 4.0.23 Admin: 6.2.22 -
@simatec sagte in Test Adapter ioBroker.backitup v2.4.x:
@sigi234 2.4.16 fixt das problem... Repo rebuild läuft gerade
Läuft wieder, Danke.

-
@simatec
Ich habe die Version 2.4.12 installiert und sichere auf Google Drive, aber seit einer Woche sichert er nur noch Javascript und Zigbee.
Bei iobroker Sicherung bekomme ich die Fehlermeldung.2022-10-17 07:03:20.229 - error: backitup.0 (1214) [iobroker/googledrive] Google Drive: File "/opt/iobroker/backups/iobroker_2022_10_17-07_00_10_backupiobroker.tar.gz" not foundLiegt das an der Version?
-
@simatec
Ich habe die Version 2.4.12 installiert und sichere auf Google Drive, aber seit einer Woche sichert er nur noch Javascript und Zigbee.
Bei iobroker Sicherung bekomme ich die Fehlermeldung.2022-10-17 07:03:20.229 - error: backitup.0 (1214) [iobroker/googledrive] Google Drive: File "/opt/iobroker/backups/iobroker_2022_10_17-07_00_10_backupiobroker.tar.gz" not foundLiegt das an der Version?
@biker1602
Nö, hier funktioniert es. -
@biker1602
Nö, hier funktioniert es.@thomas-braun
Ich habe mal den 2.4.16 installiert, aber er sichert einfach iobroker nicht nur die beiden anderen.
Ist schon sehr komisch
-
@thomas-braun
Ich habe mal den 2.4.16 installiert, aber er sichert einfach iobroker nicht nur die beiden anderen.
Ist schon sehr komisch
@biker1602 Bitte den Debuglog posten
-
@biker1602 Bitte den Debuglog posten
-
@simatec
Sag mal, das gibt es doch gar nicht! Ich habe den Adapter auf debug gestellt damit ich das unter Protokolle einsehen kann gehe nochmal auf sichern und siehe da jetzt macht er es mit. Ich weiß nicht, woran das gelegen hat.
Trotzdem Danke@biker1602 wurde sicher bei einem Backup irgendwo etwas nicht richtig beendet.
Durch das umstellen auf Debug hast du den Adapter neugestartet.
-
Ich bin gerade über den Beitrag gestolpert das backitup (V2.4.16 bei mir) keine Sicherungen mehr macht. Habe bei mir nachgesehen und siehe da, seit dem 10.10.22 wurden keine Sicherungen mehr auf Google Drive hochgeladen, bzw. überhaupt erzeugt.

Instanz gestopp und auf DEBUG umgestellt - das ist das Ergebnis nach dem Neustart - na dann warten wir mal die Nacht ab.......
backitup.0 2022-10-18 14:16:33.803 info [iobroker] backup was activated at 02:00 every 1 day(s) backitup.0 2022-10-18 14:16:33.803 info [iobroker] backup was activated at 02:00 every 1 day(s) backitup.0 2022-10-18 14:16:33.511 info starting. Version 2.4.16 in C:/iobroker/GLT/node_modules/iobroker.backitup, node: v14.16.0, js-controller: 4.0.23 -
Ich bin gerade über den Beitrag gestolpert das backitup (V2.4.16 bei mir) keine Sicherungen mehr macht. Habe bei mir nachgesehen und siehe da, seit dem 10.10.22 wurden keine Sicherungen mehr auf Google Drive hochgeladen, bzw. überhaupt erzeugt.

Instanz gestopp und auf DEBUG umgestellt - das ist das Ergebnis nach dem Neustart - na dann warten wir mal die Nacht ab.......
backitup.0 2022-10-18 14:16:33.803 info [iobroker] backup was activated at 02:00 every 1 day(s) backitup.0 2022-10-18 14:16:33.803 info [iobroker] backup was activated at 02:00 every 1 day(s) backitup.0 2022-10-18 14:16:33.511 info starting. Version 2.4.16 in C:/iobroker/GLT/node_modules/iobroker.backitup, node: v14.16.0, js-controller: 4.0.23@jb_sullivan Google hat etwas geändert. Update ist gerade in Arbeit