NEWS
Backup / Restore von Raspberry Pi auf Synology [gelöst]
-
Guten Morgen zusammen,
derzeit läuft mein IoBroker auf dem Raspberry Pi. Wir haben aber seit kurzem eine Synology, auf der wir den IoBroker gerne laufen lassen würden.
Ich habe auf der Synology bereits Docker installiert und eine Test-Instanz von IoBroker am laufen.
Diese läuft fehlerlos. Problem ist jedoch, wenn ich ein Backup aus dem Raspberry Pi einspiele.
Über BackItUp habe ich es bereits probiert. Jedoch startet zwar der restore, allerdings passiert selbst nach ca. 2 Stunden nichts.Folgende Ports sind beim Docker freigeschaltet:
*8081
*8082
*8091
*9000
*9001Viele Grüße
-
@zoxx sagte in Backup / Restore von Raspberry Pi auf Synology:
Jedoch startet zwar der restore, allerdings passiert selbst nach ca. 2 Stunden nichts.
Wo passiert nichts?
Was steht im iobroker Logfile dazu?
-
@wendy2702 laut BackItUp: "startet restore".
Im Log finde ich nichts zum Thema restore.
-
@zoxx sagte in Backup / Restore von Raspberry Pi auf Synology:
Im Log finde ich nichts zum Thema restore.
das steht da auch nicht so drin.
was steht denn da bei dir seit start des Restores?
wenn nichts passiert, dürfte ja auch nichts drinstehen, und du könntest das Ganze doch mal eben einfach in code-tags posten, bitte -
2021-07-07 10:44:52.428 - [32minfo[39m: host.IoBroker-copy iobroker.js-controller version 3.2.16 js-controller starting 2021-07-07 10:44:52.440 - [32minfo[39m: host.IoBroker-copy Copyright (c) 2014-2021 bluefox, 2014 hobbyquaker 2021-07-07 10:44:52.441 - [32minfo[39m: host.IoBroker-copy hostname: IoBroker-copy, node: v12.22.1 2021-07-07 10:44:52.443 - [32minfo[39m: host.IoBroker-copy ip addresses: 172.17.0.6 2021-07-07 10:44:53.034 - [32minfo[39m: host.IoBroker-copy connected to Objects and States 2021-07-07 10:44:53.080 - [32minfo[39m: host.IoBroker-copy added notifications configuration of host 2021-07-07 10:44:53.736 - [32minfo[39m: host.IoBroker-copy 4 instances found 2021-07-07 10:44:53.766 - [32minfo[39m: host.IoBroker-copy starting 4 instances 2021-07-07 10:44:53.839 - [32minfo[39m: host.IoBroker-copy instance system.adapter.admin.0 started with pid 109 2021-07-07 10:44:56.903 - [32minfo[39m: admin.0 (109) starting. Version 4.2.1 in /opt/iobroker/node_modules/iobroker.admin, node: v12.22.1, js-controller: 3.2.16 2021-07-07 10:44:56.973 - [32minfo[39m: admin.0 (109) requesting all states 2021-07-07 10:44:56.974 - [32minfo[39m: admin.0 (109) requesting all objects 2021-07-07 10:44:57.466 - [32minfo[39m: admin.0 (109) received all objects 2021-07-07 10:44:57.638 - [32minfo[39m: admin.0 (109) http server listening on port 8081 2021-07-07 10:44:57.824 - [32minfo[39m: host.IoBroker-copy instance system.adapter.discovery.0 started with pid 124 2021-07-07 10:44:57.639 - [32minfo[39m: admin.0 (109) Use link "http://localhost:8081" to configure. 2021-07-07 10:45:00.634 - [32minfo[39m: discovery.0 (124) starting. Version 2.6.2 in /opt/iobroker/node_modules/iobroker.discovery, node: v12.22.1, js-controller: 3.2.16 2021-07-07 10:45:01.808 - [32minfo[39m: host.IoBroker-copy instance system.adapter.info.0 started with pid 151 2021-07-07 10:45:05.807 - [32minfo[39m: host.IoBroker-copy instance system.adapter.backitup.0 started with pid 170 2021-07-07 10:45:07.211 - [32minfo[39m: info.0 (151) starting. Version 1.7.14 in /opt/iobroker/node_modules/iobroker.info, node: v12.22.1, js-controller: 3.2.16 2021-07-07 10:45:13.991 - [32minfo[39m: backitup.0 (170) starting. Version 2.1.13 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.22.1, js-controller: 3.2.16 2021-07-07 10:45:14.132 - [32minfo[39m: backitup.0 (170) [iobroker] backup was activated at 02:40 every 1 day(s)
Beim start steht, dass iobroker gestoppt und neu gestartedt wird.
Als nächstes wird mit der Wiederherstellung begonnen. -
@zoxx sagte in Backup / Restore von Raspberry Pi auf Synology:
Als nächstes wird mit der Wiederherstellung begonnen.
ich sehe nur dass backitup gestartet wird und der schedule für das Backup auf 2:40 jeden Tag eingestellt ist.
was sagt
iobroker list instances
? -
@homoran said in Backup / Restore von Raspberry Pi auf Synology:
ich sehe nur dass backitup gestartet wird und der schedule für das Backup auf 2:40 jeden Tag eingestellt ist.
genau. Das sehe ich in den Logs auch immer wieder.
Wie führe ich den Befehl wo aus?
-
@zoxx sagte in Backup / Restore von Raspberry Pi auf Synology:
Wie führe ich den Befehl wo aus?
in der Konsole (puTTY), da wo du auch ioBroker installiert hast
-
@homoran said in Backup / Restore von Raspberry Pi auf Synology:
@zoxx sagte in Backup / Restore von Raspberry Pi auf Synology:
Wie führe ich den Befehl wo aus?
in der Konsole (puTTY), da wo du auch ioBroker installiert hast
ist über das GUI Docker von Synology installiert.
-
@zoxx sagte in Backup / Restore von Raspberry Pi auf Synology:
das GUI Docker von Synology installiert.
aber auf dem Pi hattest du doch mit puTTY gearbeitet, dann muss das hier doch auch gehen.
kenne mich mit Docker nicht aus -
@homoran said in Backup / Restore von Raspberry Pi auf Synology:
aber auf dem Pi hattest du doch mit puTTY gearbeitet, dann muss das hier doch auch gehen.
Genau, da läuft das System aber direkt so installiert.
@homoran said in Backup / Restore von Raspberry Pi auf Synology:
kenne mich mit Docker nicht aus
Ich bin dort auch Neuling, muss mich in den Docker einloggen und dann schauen, Der meckert aber noch bei Synology immer, wenn ich da rein möchte.
-
@homoran said in Backup / Restore von Raspberry Pi auf Synology:
iobroker list instances
+ system.adapter.admin.0 : admin : IoBroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.backitup.0 : backitup : IoBroker - enabled + system.adapter.discovery.0 : discovery : IoBroker - enabled + system.adapter.info.0 : info : IoBroker - enabled + instance is alive
-
@zoxx Und wie genau hast du das restore gemacht?
Weil davon steht ja nichts im log.
-
@wendy2702 said in Backup / Restore von Raspberry Pi auf Synology:
@zoxx Und wie genau hast du das restore gemacht?
Weil davon steht ja nichts im log.
ich habe den restore über backitup angestoßen
-
@zoxx Geht doch
dann hat backitup auch wirklich noch nichts gemacht.
Bitte ioBroker neu starten, backitup unter Instanzen im Expertenmodus auf Logstufe debug stellen, dann nochmal den restore anstoßen und das debug log posten
-
@homoran said in Backup / Restore von Raspberry Pi auf Synology:
@zoxx Geht doch
dann hat backitup auch wirklich noch nichts gemacht.
Bitte ioBroker neu starten, backitup unter Instanzen im Expertenmodus auf Logstufe debug stellen, dann nochmal den restore anstoßen und das debug log posten
backitup.0 2021-07-07 12:23:37.169 debug (629) sendTo "restore" to system.adapter.admin.0 from system.adapter.backitup.0 backitup.0 2021-07-07 12:23:37.125 debug (629) set chmod for "/opt/iobroker/backups" successfully backitup.0 2021-07-07 12:23:32.452 debug (629) sendTo "list" to system.adapter.admin.0 from system.adapter.backitup.0 backitup.0 2021-07-07 12:23:30.446 debug (629) Backup list be read ... backitup.0 2021-07-07 12:23:26.827 debug (629) telegram-instance: telegram.0 backitup.0 2021-07-07 12:23:25.157 debug (629) No backup file was found backitup.0 2021-07-07 12:23:25.079 info (629) [iobroker] backup was activated at 02:40 every 1 day(s) backitup.0 2021-07-07 12:23:24.934 info (629) starting. Version 2.1.13 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.22.1, js-controller: 3.2.16 backitup.0 2021-07-07 12:23:24.563 debug (629) Plugin sentry Initialize Plugin (enabled=true) backitup.0 2021-07-07 12:23:24.106 debug (629) statesDB connected backitup.0 2021-07-07 12:23:24.105 debug (629) States connected to redis: 127.0.0.1:9000 backitup.0 2021-07-07 12:23:24.046 debug (629) States create User PubSub Client backitup.0 2021-07-07 12:23:24.043 debug (629) States create System PubSub Client backitup.0 2021-07-07 12:23:24.030 debug (629) Redis States: Use Redis connection: 127.0.0.1:9000 backitup.0 2021-07-07 12:23:24.026 debug (629) objectDB connected backitup.0 2021-07-07 12:23:24.011 debug (629) Objects connected to redis: 127.0.0.1:9001 backitup.0 2021-07-07 12:23:23.989 debug (629) Objects client initialize lua scripts backitup.0 2021-07-07 12:23:23.987 debug (629) Objects create User PubSub Client backitup.0 2021-07-07 12:23:23.985 debug (629) Objects create System PubSub Client backitup.0 2021-07-07 12:23:23.981 debug (629) Objects client ready ... initialize now backitup.0 2021-07-07 12:23:23.920 debug (629) Redis Objects: Use Redis connection: 127.0.0.1:9001 backitup.0 2021-07-07 12:23:17.437 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.436 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.434 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.429 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.428 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.427 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.427 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.426 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.425 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.424 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.414 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.411 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.410 warn (614) get state error: Connection is closed. backitup.0 2021-07-07 12:23:17.394 warn (614) redis get backitup.0.history.iobrokerLastTime, error - Connection is closed. backitup.0 2021-07-07 12:23:17.393 warn (614) redis get backitup.0.history.html, error - Connection is closed. backitup.0 2021-07-07 12:23:17.392 warn (614) redis get backitup.0.history.json, error - Connection is closed. backitup.0 2021-07-07 12:23:17.391 warn (614) redis get backitup.0.history.iobrokerSuccess, error - Connection is closed. backitup.0 2021-07-07 12:23:17.390 warn (614) redis get backitup.0.history.ccuSuccess, error - Connection is closed. backitup.0 2021-07-07 12:23:17.389 warn (614) redis get backitup.0.oneClick.ccu, error - Connection is closed. backitup.0 2021-07-07 12:23:17.388 warn (614) redis get backitup.0.oneClick.iobroker, error - Connection is closed. backitup.0 2021-07-07 12:23:17.388 warn (614) redis get backitup.0.history.ccuLastTime, error - Connection is closed. backitup.0 2021-07-07 12:23:17.383 debug (614) No backup file was found backitup.0 2021-07-07 12:23:17.309 info (614) [iobroker] backup was activated at 02:40 every 1 day(s) backitup.0 2021-07-07 12:23:17.168 info (614) starting. Version 2.1.13 in /opt/iobroker/node_modules/iobroker.backitup, node: v12.22.1, js-controller: 3.2.16 backitup.0 2021-07-07 12:23:16.788 info (614) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason backitup.0 2021-07-07 12:23:16.787 debug (614) Plugin sentry destroyed backitup.0 2021-07-07 12:23:16.772 debug (614) statesDB connected backitup.0 2021-07-07 12:23:16.770 debug (614) States connected to redis: 127.0.0.1:9000 backitup.0 2021-07-07 12:23:16.744 debug (614) States create User PubSub Client backitup.0 2021-07-07 12:23:16.742 debug (614) States create System PubSub Client backitup.0 2021-07-07 12:23:16.727 debug (614) Redis States: Use Redis connection: 127.0.0.1:9000 backitup.0 2021-07-07 12:23:16.723 debug (614) objectDB connected backitup.0 2021-07-07 12:23:16.704 debug (614) Objects connected to redis: 127.0.0.1:9001 backitup.0 2021-07-07 12:23:16.672 debug (614) Objects client initialize lua scripts backitup.0 2021-07-07 12:23:16.670 debug (614) Objects create User PubSub Client backitup.0 2021-07-07 12:23:16.668 debug (614) Objects create System PubSub Client backitup.0 2021-07-07 12:23:16.664 debug (614) Objects client ready ... initialize now backitup.0 2021-07-07 12:23:16.602 debug (614) Redis Objects: Use Redis connection: 127.0.0.1:9001 backitup.0 2021-07-07 12:23:08.483 info (171) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason backitup.0 2021-07-07 12:23:08.480 info (171) terminating backitup.0 2021-07-07 12:23:08.478 info (171) cleaned everything up... backitup.0 2021-07-07 12:23:08.475 info (171) Got terminate signal TERMINATE_YOURSELF
-
@zoxx sagte in Backup / Restore von Raspberry Pi auf Synology:
Redis Objects: Use Redis connection: 127.0.0.1:9001
was sagt
iobroker status
EDIT:
nee, scheint zu passenaber:
@zoxx sagte in Backup / Restore von Raspberry Pi auf Synology:
backitup.0 2021-07-07 12:23:17.383 debug (614) No backup file was found
also nochmal zum Anfang!
@wendy2702 sagte in Backup / Restore von Raspberry Pi auf Synology:
Und wie genau hast du das restore gemacht?
-
@homoran said in Backup / Restore von Raspberry Pi auf Synology:
iobroker status
iobroker is running on this host. Objects type: file States type: file
-
@zoxx Danke - hab`s gerade editiert
-
@zoxx lief Redis auf dem RasPi?