NEWS
Test Adapter ioBroker.backitup v3.0.x
-
Ab sofort ist die Version 1.6.5 auf Github und in Kürze auch im latest verfügbar ...
Changelog
1.6.5 (07.09.2020)
- (simatec) Bugfix GoogleDrive Rate Limit errors
- (simatec) small fixes on zigbee backup
-
@simatec Hallo - habe mich schon gefreut - und gleich getestet. - Leider gab es bei mir keinerlei Veränderungen.
Muss ich erst mal alle alten zigbee-Backups löschen bzw. aus dem Verzeichnis entfernen und dann warten?
Hier wieder Auszug aus dem Log - die zigbee Backups werden gar nicht angefasst.
2020-09-07 12:43:26.949 - info: host.MWHome instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2020-09-07 12:43:29.716 - info: host.MWHome instance system.adapter.backitup.0 started with pid 20066 2020-09-07 12:43:32.649 - debug: backitup.0 (20066) Redis Objects: Use Redis connection: 127.0.0.1:9001 2020-09-07 12:43:32.685 - debug: backitup.0 (20066) Objects client ready ... initialize now 2020-09-07 12:43:32.689 - debug: backitup.0 (20066) Objects create System PubSub Client 2020-09-07 12:43:32.691 - debug: backitup.0 (20066) Objects create User PubSub Client 2020-09-07 12:43:32.692 - debug: backitup.0 (20066) Objects client initialize lua scripts 2020-09-07 12:43:32.708 - debug: backitup.0 (20066) Objects connected to redis: 127.0.0.1:9001 2020-09-07 12:43:32.716 - debug: backitup.0 (20066) objectDB connected 2020-09-07 12:43:32.719 - debug: backitup.0 (20066) Redis States: Use Redis connection: 127.0.0.1:9000 2020-09-07 12:43:32.758 - debug: backitup.0 (20066) States create User PubSub Client 2020-09-07 12:43:32.769 - debug: backitup.0 (20066) States create System PubSub Client 2020-09-07 12:43:32.787 - debug: backitup.0 (20066) States connected to redis: 127.0.0.1:9000 2020-09-07 12:43:32.791 - debug: backitup.0 (20066) statesDB connected 2020-09-07 12:43:33.311 - debug: backitup.0 (20066) Plugin sentry Initialize Plugin (enabled=true) 2020-09-07 12:43:33.495 - info: backitup.0 (20066) starting. Version 1.6.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.18.3, js-controller: 3.1.6 2020-09-07 12:43:33.575 - info: backitup.0 (20066) [iobroker] backup was activated at 12:45 every 1 day(s) 2020-09-07 12:43:33.595 - debug: backitup.0 (20066) No backup file was found 2020-09-07 12:45:10.176 - debug: backitup.0 (20066) Backup has started ... 2020-09-07 12:45:12.690 - debug: backitup.0 (20066) [iobroker/iobroker] host.MWHome 3657 states saved 2020-09-07 12:45:12.714 - debug: backitup.0 (20066) [iobroker/iobroker] host.MWHome 3310 objects saved 2020-09-07 12:48:22.755 - debug: backitup.0 (20066) [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2020_09_07-12_45_10_backupiobroker.tar.gz 2020-09-07 12:48:23.818 - debug: backitup.0 (20066) [iobroker/iobroker] done 2020-09-07 12:48:24.030 - debug: backitup.0 (20066) [iobroker/mysql] MySql File deleted! 2020-09-07 12:48:24.032 - debug: backitup.0 (20066) [iobroker/mysql] done 2020-09-07 12:48:24.040 - debug: backitup.0 (20066) [iobroker/zigbee] found zigbee database: zigbee.0 2020-09-07 12:48:24.042 - debug: backitup.0 (20066) [iobroker/zigbee] done 2020-09-07 12:48:24.066 - debug: backitup.0 (20066) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_19-02_00_10_backupiobroker.tar.gz 2020-09-07 12:48:24.082 - debug: backitup.0 (20066) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_19-02_03_43_backupiobroker.tar.gz 2020-09-07 12:48:24.086 - debug: backitup.0 (20066) [iobroker/clean] done 2020-09-07 12:48:24.107 - debug: backitup.0 (20066) [iobroker] exec: done 2020-09-07 12:48:24.147 - debug: backitup.0 (20066) [iobroker/history] backitup.0.history.html 2020-09-07 12:48:24.150 - debug: backitup.0 (20066) [iobroker] exec: done 2020-09-07 12:48:24.153 - debug: backitup.0 (20066) [iobroker/history] backitup.0.history.json 2020-09-07 12:48:24.156 - debug: backitup.0 (20066) [iobroker] exec: done
-
@mickym
Habe es noch einmal getestet und kann keinen Fehler finden.
Wo werden denn deine zigbee Backups nicht gelöscht?NAS, FTP, Google, Dropbox oder lokal?
Am besten du löschst mal alle händisch und dann beobachten wir das mal genauer
-
@simatec
So alles ist lokal und auch im Standardverzeichnis /opt/iobroker/backups.In diesem Verzeichnis befinden sich (s. Screenshot und ls -la) sowohl die zigbee, mysql und iobroker backups. Also alles gleiches Verzeichnis und sowohl mysql und iobroker backups werden gelöscht. Somit sind irgendwelche Rechteprobleme beim Löschen ausgeschlossen - angelegt werden die Dateien ja auch.
Nachdem das nun auch mit der neuen Version nicht funktioniert hat, habe ich folgendes gemacht:
In der Konfiguration der backitup Instanz:
- zigbee backup - Haken entfernt - Adapter wurde neu gestartet
- zigbee backup - Haken wieder gesetzt - Adapter wurde neu gestartet
- alle zigbee backups von August bis Mai manuell aus dem Verzeichnis entfernt.
- Anzahl der Backups die aufgehoben werden sollen von 30 auf 15 reduziert.
Folge war, dass nun eine Menge der iobroker und mysql Backups weggeschmissen wurden, aber die zigbee Backups wurden weiterhin nicht angefasst.
Hier das LOG:
2020-09-07 12:56:03.701 - info: host.MWHome instance system.adapter.backitup.0 started with pid 24208 2020-09-07 12:56:06.594 - debug: backitup.0 (24208) Redis Objects: Use Redis connection: 127.0.0.1:9001 2020-09-07 12:56:06.626 - debug: backitup.0 (24208) Objects client ready ... initialize now 2020-09-07 12:56:06.629 - debug: backitup.0 (24208) Objects create System PubSub Client 2020-09-07 12:56:06.631 - debug: backitup.0 (24208) Objects create User PubSub Client 2020-09-07 12:56:06.632 - debug: backitup.0 (24208) Objects client initialize lua scripts 2020-09-07 12:56:06.643 - debug: backitup.0 (24208) Objects connected to redis: 127.0.0.1:9001 2020-09-07 12:56:06.650 - debug: backitup.0 (24208) objectDB connected 2020-09-07 12:56:06.652 - debug: backitup.0 (24208) Redis States: Use Redis connection: 127.0.0.1:9000 2020-09-07 12:56:06.659 - debug: backitup.0 (24208) States create User PubSub Client 2020-09-07 12:56:06.662 - debug: backitup.0 (24208) States create System PubSub Client 2020-09-07 12:56:06.671 - debug: backitup.0 (24208) States connected to redis: 127.0.0.1:9000 2020-09-07 12:56:06.672 - debug: backitup.0 (24208) statesDB connected 2020-09-07 12:56:07.223 - debug: backitup.0 (24208) Plugin sentry Initialize Plugin (enabled=true) 2020-09-07 12:56:07.419 - info: backitup.0 (24208) starting. Version 1.6.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.18.3, js-controller: 3.1.6 2020-09-07 12:56:07.500 - info: backitup.0 (24208) [iobroker] backup was activated at 12:57 every 1 day(s) 2020-09-07 12:56:07.514 - debug: backitup.0 (24208) No backup file was found 2020-09-07 12:57:10.170 - debug: backitup.0 (24208) Backup has started ... 2020-09-07 12:57:12.695 - debug: backitup.0 (24208) [iobroker/iobroker] host.MWHome 3657 states saved 2020-09-07 12:57:12.728 - debug: backitup.0 (24208) [iobroker/iobroker] host.MWHome 3310 objects saved 2020-09-07 13:00:29.277 - debug: backitup.0 (24208) [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2020_09_07-12_57_10_backupiobroker.tar.gz 2020-09-07 13:00:30.301 - debug: backitup.0 (24208) [iobroker/iobroker] done 2020-09-07 13:00:30.470 - debug: backitup.0 (24208) [iobroker/mysql] MySql File deleted! 2020-09-07 13:00:30.472 - debug: backitup.0 (24208) [iobroker/mysql] done 2020-09-07 13:00:30.478 - debug: backitup.0 (24208) [iobroker/zigbee] found zigbee database: zigbee.0 2020-09-07 13:00:30.480 - debug: backitup.0 (24208) [iobroker/zigbee] done 2020-09-07 13:00:30.510 - debug: backitup.0 (24208) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_20-02_00_10_backupiobroker.tar.gz 2020-09-07 13:00:30.524 - debug: backitup.0 (24208) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_20-02_03_30_backupiobroker.tar.gz 2020-09-07 13:00:30.528 - debug: backitup.0 (24208) [iobroker/clean] done 2020-09-07 13:00:30.548 - debug: backitup.0 (24208) [iobroker] exec: done 2020-09-07 13:00:30.602 - debug: backitup.0 (24208) [iobroker/history] backitup.0.history.html 2020-09-07 13:00:30.605 - debug: backitup.0 (24208) [iobroker] exec: done 2020-09-07 13:00:30.607 - debug: backitup.0 (24208) [iobroker/history] backitup.0.history.json 2020-09-07 13:00:30.610 - debug: backitup.0 (24208) [iobroker] exec: done 2020-09-07 13:06:06.985 - debug: backitup.0 (24208) system.adapter.admin.0: logging false 2020-09-07 13:06:10.206 - info: host.MWHome stopInstance system.adapter.backitup.0 (force=false, process=true) 2020-09-07 13:06:10.212 - info: host.MWHome stopInstance system.adapter.backitup.0 send kill signal 2020-09-07 13:06:10.217 - info: backitup.0 (24208) Got terminate signal TERMINATE_YOURSELF 2020-09-07 13:06:10.218 - info: backitup.0 (24208) cleaned everything up... 2020-09-07 13:06:10.219 - info: backitup.0 (24208) terminating 2020-09-07 13:06:10.220 - debug: backitup.0 (24208) Plugin sentry destroyed 2020-09-07 13:06:10.220 - info: backitup.0 (24208) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2020-09-07 13:06:10.243 - debug: backitup.0 (24208) system.adapter.admin.0: logging true 2020-09-07 13:06:10.752 - info: host.MWHome instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2020-09-07 13:06:13.261 - info: host.MWHome instance system.adapter.backitup.0 started with pid 27657 2020-09-07 13:06:16.133 - debug: backitup.0 (27657) Redis Objects: Use Redis connection: 127.0.0.1:9001 2020-09-07 13:06:16.165 - debug: backitup.0 (27657) Objects client ready ... initialize now 2020-09-07 13:06:16.169 - debug: backitup.0 (27657) Objects create System PubSub Client 2020-09-07 13:06:16.170 - debug: backitup.0 (27657) Objects create User PubSub Client 2020-09-07 13:06:16.171 - debug: backitup.0 (27657) Objects client initialize lua scripts 2020-09-07 13:06:16.183 - debug: backitup.0 (27657) Objects connected to redis: 127.0.0.1:9001 2020-09-07 13:06:16.189 - debug: backitup.0 (27657) objectDB connected 2020-09-07 13:06:16.192 - debug: backitup.0 (27657) Redis States: Use Redis connection: 127.0.0.1:9000 2020-09-07 13:06:16.199 - debug: backitup.0 (27657) States create User PubSub Client 2020-09-07 13:06:16.202 - debug: backitup.0 (27657) States create System PubSub Client 2020-09-07 13:06:16.211 - debug: backitup.0 (27657) States connected to redis: 127.0.0.1:9000 2020-09-07 13:06:16.212 - debug: backitup.0 (27657) statesDB connected 2020-09-07 13:06:16.688 - debug: backitup.0 (27657) Plugin sentry Initialize Plugin (enabled=true) 2020-09-07 13:06:16.844 - info: backitup.0 (27657) starting. Version 1.6.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.18.3, js-controller: 3.1.6 2020-09-07 13:06:16.903 - info: backitup.0 (27657) [iobroker] backup was activated at 12:57 every 1 day(s) 2020-09-07 13:06:16.923 - debug: backitup.0 (27657) No backup file was found 2020-09-07 13:06:35.692 - info: host.MWHome stopInstance system.adapter.backitup.0 (force=false, process=true) 2020-09-07 13:06:35.704 - info: host.MWHome stopInstance system.adapter.backitup.0 send kill signal 2020-09-07 13:06:35.714 - info: backitup.0 (27657) Got terminate signal TERMINATE_YOURSELF 2020-09-07 13:06:35.717 - info: backitup.0 (27657) cleaned everything up... 2020-09-07 13:06:35.719 - info: backitup.0 (27657) terminating 2020-09-07 13:06:35.721 - debug: backitup.0 (27657) Plugin sentry destroyed 2020-09-07 13:06:35.723 - info: backitup.0 (27657) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2020-09-07 13:06:36.283 - info: host.MWHome instance system.adapter.backitup.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2020-09-07 13:06:38.790 - info: host.MWHome instance system.adapter.backitup.0 started with pid 27777 2020-09-07 13:06:41.613 - debug: backitup.0 (27777) Redis Objects: Use Redis connection: 127.0.0.1:9001 2020-09-07 13:06:41.659 - debug: backitup.0 (27777) Objects client ready ... initialize now 2020-09-07 13:06:41.664 - debug: backitup.0 (27777) Objects create System PubSub Client 2020-09-07 13:06:41.665 - debug: backitup.0 (27777) Objects create User PubSub Client 2020-09-07 13:06:41.667 - debug: backitup.0 (27777) Objects client initialize lua scripts 2020-09-07 13:06:41.691 - debug: backitup.0 (27777) Objects connected to redis: 127.0.0.1:9001 2020-09-07 13:06:41.698 - debug: backitup.0 (27777) objectDB connected 2020-09-07 13:06:41.700 - debug: backitup.0 (27777) Redis States: Use Redis connection: 127.0.0.1:9000 2020-09-07 13:06:41.708 - debug: backitup.0 (27777) States create User PubSub Client 2020-09-07 13:06:41.711 - debug: backitup.0 (27777) States create System PubSub Client 2020-09-07 13:06:41.720 - debug: backitup.0 (27777) States connected to redis: 127.0.0.1:9000 2020-09-07 13:06:41.721 - debug: backitup.0 (27777) statesDB connected 2020-09-07 13:06:42.525 - debug: backitup.0 (27777) Plugin sentry Initialize Plugin (enabled=true) 2020-09-07 13:06:42.725 - info: backitup.0 (27777) starting. Version 1.6.5 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.18.3, js-controller: 3.1.6 2020-09-07 13:06:42.781 - info: backitup.0 (27777) [iobroker] backup was activated at 13:07 every 1 day(s) 2020-09-07 13:06:42.801 - debug: backitup.0 (27777) No backup file was found 2020-09-07 13:07:10.170 - debug: backitup.0 (27777) Backup has started ... 2020-09-07 13:07:12.639 - debug: backitup.0 (27777) [iobroker/iobroker] host.MWHome 3657 states saved 2020-09-07 13:07:12.680 - debug: backitup.0 (27777) [iobroker/iobroker] host.MWHome 3310 objects saved 2020-09-07 13:10:28.859 - debug: backitup.0 (27777) [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2020_09_07-13_07_10_backupiobroker.tar.gz 2020-09-07 13:10:29.902 - debug: backitup.0 (27777) [iobroker/iobroker] done 2020-09-07 13:10:32.432 - debug: backitup.0 (27777) [iobroker/mysql] MySql File deleted! 2020-09-07 13:10:32.436 - debug: backitup.0 (27777) [iobroker/mysql] done 2020-09-07 13:10:32.444 - debug: backitup.0 (27777) [iobroker/zigbee] found zigbee database: zigbee.0 2020-09-07 13:10:32.446 - debug: backitup.0 (27777) [iobroker/zigbee] done 2020-09-07 13:10:32.469 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_09_03-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.482 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_09_02-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.485 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_09_01-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.498 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_31-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.507 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_30-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.522 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_29-03_45_32_backupiobroker.tar.gz 2020-09-07 13:10:32.531 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_29-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.546 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_29-01_15_37_backupiobroker.tar.gz 2020-09-07 13:10:32.552 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_28-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.562 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_27-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.578 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_26-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.588 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_25-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.598 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_24-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.609 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_23-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.616 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_22-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.626 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_08_21-02_00_10_backupiobroker.tar.gz 2020-09-07 13:10:32.640 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_09_03-02_03_23_backupiobroker.tar.gz 2020-09-07 13:10:32.644 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_09_02-02_03_39_backupiobroker.tar.gz 2020-09-07 13:10:32.650 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_09_01-02_03_33_backupiobroker.tar.gz 2020-09-07 13:10:32.655 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_31-02_03_26_backupiobroker.tar.gz 2020-09-07 13:10:32.659 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_30-02_03_53_backupiobroker.tar.gz 2020-09-07 13:10:32.666 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_29-03_48_32_backupiobroker.tar.gz 2020-09-07 13:10:32.670 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_29-02_03_28_backupiobroker.tar.gz 2020-09-07 13:10:32.676 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_29-01_18_56_backupiobroker.tar.gz 2020-09-07 13:10:32.679 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_28-02_03_25_backupiobroker.tar.gz 2020-09-07 13:10:32.685 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_27-02_03_23_backupiobroker.tar.gz 2020-09-07 13:10:32.690 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_26-02_03_35_backupiobroker.tar.gz 2020-09-07 13:10:32.695 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_25-02_03_19_backupiobroker.tar.gz 2020-09-07 13:10:32.700 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_24-02_03_12_backupiobroker.tar.gz 2020-09-07 13:10:32.705 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_23-02_03_23_backupiobroker.tar.gz 2020-09-07 13:10:32.711 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_22-02_03_12_backupiobroker.tar.gz 2020-09-07 13:10:32.721 - debug: backitup.0 (27777) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_08_21-02_03_24_backupiobroker.tar.gz 2020-09-07 13:10:32.726 - debug: backitup.0 (27777) [iobroker/clean] done 2020-09-07 13:10:32.773 - debug: backitup.0 (27777) [iobroker] exec: done 2020-09-07 13:10:32.874 - debug: backitup.0 (27777) [iobroker/history] backitup.0.history.html 2020-09-07 13:10:32.877 - debug: backitup.0 (27777) [iobroker] exec: done 2020-09-07 13:10:32.880 - debug: backitup.0 (27777) [iobroker/history] backitup.0.history.json 2020-09-07 13:10:32.886 - debug: backitup.0 (27777) [iobroker] exec: done
cat backups.txt insgesamt 1182064 drwxr-xr-x 2 iobroker iobroker 20480 Sep 7 13:10 . drwxrwxr-x 4 root adm 4096 Sep 10 2019 .. -rw-r--r-- 1 iobroker iobroker 80288808 Sep 4 00:54 iobroker_2020_09_04-00_51_17_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80288864 Sep 4 00:59 iobroker_2020_09_04-00_55_45_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80288796 Sep 4 02:03 iobroker_2020_09_04-02_00_10_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80305811 Sep 4 15:56 iobroker_2020_09_04-15_53_26_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80306117 Sep 4 17:29 iobroker_2020_09_04-17_26_37_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80306331 Sep 4 17:53 iobroker_2020_09_04-17_50_10_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80306445 Sep 4 18:23 iobroker_2020_09_04-18_20_10_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80306132 Sep 4 18:35 iobroker_2020_09_04-18_32_10_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80308902 Sep 4 19:11 iobroker_2020_09_04-19_08_10_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80303733 Sep 5 02:03 iobroker_2020_09_05-02_00_10_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80304698 Sep 6 02:03 iobroker_2020_09_06-02_00_10_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80305650 Sep 7 02:03 iobroker_2020_09_07-02_00_10_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80303920 Sep 7 12:48 iobroker_2020_09_07-12_45_10_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80304328 Sep 7 13:00 iobroker_2020_09_07-12_57_10_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 80304001 Sep 7 13:10 iobroker_2020_09_07-13_07_10_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1888533 Dez 20 2019 minimal_2019_12_20-23_35_48_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1888770 Dez 20 2019 minimal_2019_12_20-23_44_54_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1891755 Dez 21 2019 minimal_2019_12_21-02_00_10_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1058 Sep 4 00:54 mysql_2020_09_04-00_54_55_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1057 Sep 4 00:59 mysql_2020_09_04-00_59_09_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1057 Sep 4 02:03 mysql_2020_09_04-02_03_27_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1057 Sep 4 15:56 mysql_2020_09_04-15_56_30_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1060 Sep 4 17:29 mysql_2020_09_04-17_29_51_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1058 Sep 4 17:53 mysql_2020_09_04-17_53_25_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1058 Sep 4 18:23 mysql_2020_09_04-18_23_24_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1060 Sep 4 18:35 mysql_2020_09_04-18_35_25_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1057 Sep 4 19:11 mysql_2020_09_04-19_11_11_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1058 Sep 5 02:03 mysql_2020_09_05-02_03_24_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1058 Sep 6 02:03 mysql_2020_09_06-02_03_16_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1057 Sep 7 02:03 mysql_2020_09_07-02_03_11_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1058 Sep 7 12:48 mysql_2020_09_07-12_48_23_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1058 Sep 7 13:00 mysql_2020_09_07-13_00_30_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 1058 Sep 7 13:10 mysql_2020_09_07-13_10_29_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2697 Sep 1 02:03 zigbee.0_2020_09_01-02_03_34_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2685 Sep 2 02:03 zigbee.0_2020_09_02-02_03_44_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2685 Sep 3 02:03 zigbee.0_2020_09_03-02_03_24_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2713 Sep 4 00:54 zigbee.0_2020_09_04-00_54_55_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2713 Sep 4 00:59 zigbee.0_2020_09_04-00_59_11_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2713 Sep 4 02:03 zigbee.0_2020_09_04-02_03_27_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2701 Sep 4 15:56 zigbee.0_2020_09_04-15_56_30_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2701 Sep 4 17:29 zigbee.0_2020_09_04-17_29_51_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2701 Sep 4 17:53 zigbee.0_2020_09_04-17_53_28_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2701 Sep 4 18:23 zigbee.0_2020_09_04-18_23_24_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2701 Sep 4 18:35 zigbee.0_2020_09_04-18_35_25_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2710 Sep 4 19:11 zigbee.0_2020_09_04-19_11_11_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2687 Sep 5 02:03 zigbee.0_2020_09_05-02_03_24_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2687 Sep 6 02:03 zigbee.0_2020_09_06-02_03_16_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2687 Sep 7 02:03 zigbee.0_2020_09_07-02_03_14_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2687 Sep 7 12:48 zigbee.0_2020_09_07-12_48_24_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2687 Sep 7 13:00 zigbee.0_2020_09_07-13_00_30_backupiobroker.tar.gz -rw-r--r-- 1 iobroker iobroker 2687 Sep 7 13:10 zigbee.0_2020_09_07-13_10_32_backupiobroker.tar.gz
Ich habe mir ja schon gedacht, dass evtl. die Anzahl der Dateien zum Bereinigen zuviel sind. Aber nun sind es nur noch 18 bei eingestellten 15 und wie gesagt, der fasst das ja laut Log nicht an.
-
@simatec was meinst mit alle löschen - gar keine zigbees mehr, aber dann hat der Adapter ja nichts mehr zum löschen?
-
Kann deinen Fehler wirklich aktuell nicht nachstellen.
Hab mal auf lokal gestellt und die Backups werden gelöscht ...backitup.0 2020-09-07 13:55:54.574 debug (25535) [iobroker/clean] done backitup.0 2020-09-07 13:55:54.573 debug (25535) [iobroker/clean] delete /opt/iobroker/backups/zigbee.1_2020_09_07-13_50_15_backupiobroker.tar.gz backitup.0 2020-09-07 13:55:54.571 debug (25535) [iobroker/clean] delete /opt/iobroker/backups/zigbee.0_2020_09_07-13_50_15_backupiobroker.tar.gz backitup.0 2020-09-07 13:55:54.567 debug (25535) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_09_07-13_50_10_dev_backupiobroker.tar.gz backitup.0 2020-09-07 13:55:54.561 debug (25535) [iobroker/dropbox] done backitup.0 2020-09-07 13:55:54.141 debug (25535) [iobroker/googledrive] Google Drive: Copy zigbee.1_2020_09_07-13_55_15_backupiobroker.tar.gz... backitup.0 2020-09-07 13:55:53.807 debug (25535) [iobroker/dropbox] Dropbox: delete /Test-pi/minimal/zigbee.1_2020_09_07-13_50_15_backupiobroker.tar.gz backitup.0 2020-09-07 13:55:53.145 debug (25535) [iobroker/dropbox] Dropbox: delete /Test-pi/minimal/zigbee.0_2020_09_07-13_50_15_backupiobroker.tar.gz backitup.0 2020-09-07 13:55:52.439 debug (25535) [iobroker/dropbox] Dropbox: delete /Test-pi/minimal/iobroker_2020_09_07-13_50_10_dev_backupiobroker.tar.gz backitup.0 2020-09-07 13:55:51.252 debug (25535) [iobroker/googledrive] Google Drive: Copy zigbee.0_2020_09_07-13_55_15_backupiobroker.tar.gz... backitup.0 2020-09-07 13:55:50.719 debug (25535) [iobroker/dropbox] Dropbox: Copy zigbee.1_2020_09_07-13_55_15_backupiobroker.tar.gz... backitup.0 2020-09-07 13:55:49.539 debug (25535) [iobroker/dropbox] Dropbox: Copy zigbee.0_2020_09_07-13_55_15_backupiobroker.tar.gz... backitup.0 2020-09-07 13:55:15.504 debug (25535) [iobroker/googledrive] Google Drive: Copy iobroker_2020_09_07-13_55_10_dev_backupiobroker.tar.gz... backitup.0 2020-09-07 13:55:15.489 debug (25535) [iobroker/dropbox] Dropbox: Copy iobroker_2020_09_07-13_55_10_dev_backupiobroker.tar.gz... backitup.0 2020-09-07 13:55:15.440 debug (25535) [iobroker/zigbee] done backitup.0 2020-09-07 13:55:15.438 debug (25535) [iobroker/zigbee] found zigbee database: zigbee.0,zigbee.1 backitup.0 2020-09-07 13:55:15.432 debug (25535) [iobroker/iobroker] done backitup.0 2020-09-07 13:55:14.407 debug (25535) [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2020_09_07-13_55_10_dev_backupiobroker.tar.gz backitup.0 2020-09-07 13:55:11.933 debug (25535) [iobroker/iobroker] host.iobroker-dev 1843 objects saved backitup.0 2020-09-07 13:55:11.908 debug (25535) [iobroker/iobroker] host.iobroker-dev 1486 states saved
-
@simatec Tja - dann weiß ich auch nicht weiter - habe wirklich nun einiges ausprobiert - und ich glaube auch nicht, dass ich mit dem Problem alleine da stehe (s. anderer Thread). Wenn Du also keine Möglichkeit hast, da noch was zu debuggen, warum in der clean Phase diese Backups nicht angefasst werden, dann muss ich wohl damit leben. Es sind ja keine großen Dateien und das manuelle Bereinigen ist nicht so schlimm.
Eigenartig ist halt, dass sowohl das Schreiben aller Arten in dem gleichen Verzeichnis funktioniert und nur beim Löschen diese Dateien (die iobroker und mysql Dateien aber schon) gar nicht angefasst werden. Es kommen ja auch keine Fehler im LOG, dass Dateien nicht gelöscht werden konnten etc.. Es sieht für mich einfach so aus, als ob der Adapter nicht weiß, dass er diese Dateien bereinigen soll.
Ich habe auch gerade nachgeschaut - auch lokal in /opt/iobroker/iobroker-data/backup-objects wird alles sauber bereinigt.
Das einzige was mir jetzt noch einfällt wäre den gesamten Adapter nochmal zu löschen und neu anzulegen. Was muss ich beachten, dass auch keine alte Konfiguration zurückbleibt. Verzeichnis: /opt/iobroker/iobroker-data/files/backitup.admin löschen?
-
@simatec So ich habe nun den kompletten Adapter gelöscht und damit ist auch die Instanz weg gewesen und habe mich überzeugt, dass /opt/iobroker/iobroker-data/files/backitup.admin weg war.
Dann direkt von github die Version 1.6.5 installiert. Danach war komischerweise nicht automatisch eine Instanz vorhanden. Die habe ich dann händisch angelegt. Alles ohne Fehler.
Dann wieder "automatisches" Backup gemacht - gleiches Verhalten wie vorher. Ich gebe hier auch erst mal auf.
-
@mickym Aufgaben ist keine Lösung ...
Wir werden den Fehler finden -
Habe jetzt nur Quer gelesen , hat es vielleicht etwas zu tun , da er zwei Zigbee Instanzen hat .
@mickym Wofür .... ist mir eigentlich schleierhaft
backitup.0 2020-09-07 13:55:54.573 debug (25535) [iobroker/clean] delete /opt/iobroker/backups/zigbee.1_2020_09_07-13_50_15_backupiobroker.tar.gz backitup.0 2020-09-07 13:55:54.571 debug (25535) [iobroker/clean] delete /opt/iobroker/backups/zigbee.0_2020_09_07-13_50_15_backupiobroker.tar.gz
-
@Glasfaser Das war nicht meine - sondern die von @simatec .
@simatec OK - danke.
-
@mickym
Sorry ... Handy ist zu klein -
@mickym jetzt konnte ich den Fehler schonmal nachstellen.
Wenn ich alle Speichermöglichkeiten wie Dropbox, GoogleDrive etc. ausschalte und nur lokal speichere, dann wird zigbee nicht gelöscht.
Warum, kann ich nicht sagen, da muss ich mal debugen -
@simatec Na das hört sich doch schon mal viel versprechend an.
-
@mickym
Installiere mal bitte die Testversion über den Link von Github -
@Glasfaser
Ist ne reine Entwicklerumgebung, wo ich auch den Ernstfall testen kann -
@simatec HURRA !!!!
Du bist Klasse - es funktioniert.
2020-09-07 16:41:01.838 - info: backitup.0 (16113) starting. Version 1.6.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.18.3, js-controller: 3.1.6 2020-09-07 16:41:01.892 - info: backitup.0 (16113) [iobroker] backup was activated at 16:42 every 1 day(s) 2020-09-07 16:41:01.907 - debug: backitup.0 (16113) No backup file was found 2020-09-07 16:42:10.195 - debug: backitup.0 (16113) Backup has started ... 2020-09-07 16:42:13.032 - debug: backitup.0 (16113) [iobroker/iobroker] host.MWHome 3657 states saved 2020-09-07 16:42:13.078 - debug: backitup.0 (16113) [iobroker/iobroker] host.MWHome 3310 objects saved 2020-09-07 16:45:17.393 - debug: backitup.0 (16113) [iobroker/iobroker] Backup created: /opt/iobroker/backups/iobroker_2020_09_07-16_42_10_backupiobroker.tar.gz 2020-09-07 16:45:18.422 - debug: backitup.0 (16113) [iobroker/iobroker] done 2020-09-07 16:45:18.649 - debug: backitup.0 (16113) [iobroker/mysql] MySql File deleted! 2020-09-07 16:45:18.651 - debug: backitup.0 (16113) [iobroker/mysql] done 2020-09-07 16:45:18.658 - debug: backitup.0 (16113) [iobroker/zigbee] found zigbee database: zigbee.0 2020-09-07 16:45:18.659 - debug: backitup.0 (16113) [iobroker/zigbee] done 2020-09-07 16:45:18.670 - debug: backitup.0 (16113) [iobroker/clean] done 2020-09-07 16:45:18.689 - debug: backitup.0 (16113) [iobroker] exec: done 2020-09-07 16:45:18.699 - debug: backitup.0 (16113) [iobroker/history] backitup.0.history.html 2020-09-07 16:45:18.700 - debug: backitup.0 (16113) [iobroker] exec: done 2020-09-07 16:45:18.711 - debug: backitup.0 (16113) [iobroker/history] backitup.0.history.json 2020-09-07 16:45:18.714 - debug: backitup.0 (16113) [iobroker] exec: done 2020-09-07 16:45:18.973 - debug: backitup.0 (16113) [iobroker/clean] delete /opt/iobroker/backups/iobroker_2020_09_04-00_55_45_backupiobroker.tar.gz 2020-09-07 16:45:18.980 - debug: backitup.0 (16113) [iobroker/clean] delete /opt/iobroker/backups/mysql_2020_09_04-00_59_09_backupiobroker.tar.gz 2020-09-07 16:45:18.986 - debug: backitup.0 (16113) [iobroker/clean] delete /opt/iobroker/backups/zigbee.0_2020_09_04-00_59_11_backupiobroker.tar.gz 2020-09-07 16:45:18.989 - debug: backitup.0 (16113) [iobroker/clean] delete /opt/iobroker/backups/zigbee.0_2020_09_04-00_54_55_backupiobroker.tar.gz 2020-09-07 16:45:18.994 - debug: backitup.0 (16113) [iobroker/clean] delete /opt/iobroker/backups/zigbee.0_2020_09_03-02_03_24_backupiobroker.tar.gz 2020-09-07 16:45:18.997 - debug: backitup.0 (16113) [iobroker/clean] delete /opt/iobroker/backups/zigbee.0_2020_09_02-02_03_44_backupiobroker.tar.gz 2020-09-07 16:45:19.000 - debug: backitup.0 (16113) [iobroker/clean] delete /opt/iobroker/backups/zigbee.0_2020_09_01-02_03_34_backupiobroker.tar.gz
Das exec:done und clean:done kommt jetzt wohl vorher !!! - aber das wars! - deswegen habe ich noch gewartet, ob da noch was kommt.
-
Ab sofort steht die Version 1.6.6 auf Github und in Kürze auch im latest bereit ...
Changelog
1.6.6 (08.09.2020)
- (simatec) Bugfix clean local backups
- (simatec) Bugfix mount and umount for sentry.io
-
Musste heute nach langer Zeit mal wieder ein Restore fahren - dabei ist mir aufgefallen, das von den "Aufzählungen" die Funktionen nicht gesichert waren. Die Räume ja, die Funktionen nicht.
Ist das nicht Bestandteil von BackItup?
-
@JB_Sullivan
Da Backitup die iobroker Backup Funktion aus dem js-controller nutzt, wäre das ein Issue für den js-controller