-
-
Notifications
You must be signed in to change notification settings - Fork 56
Closed
Description
Situation:
- ioBroker is running on a system with redis
- redis is used for objects and states
- the system creates backups automatically (to a usb stick)
- the system crashed
Solution:
- Setting up a new iobroker installation with the installation script (
curl -sLf https://iobroker.net/install.sh | bash -
) - Restoring the backup from the usb stick
Issue:
- The new iobroker installation has configured
jsonl
as database for objects and states - The backup configuration contains
redis
as database
After the restore process, all information have been written to jsonl
, the redis database is empty but iobroker uses the redis dabase instead of jsonl.
Tested with js-controller 4.0.21
Expected result:
The restore process recognizes, that the backup target is redis and uses that configuration of the backup before restoring the databases
or
The restore process keeps the database configuration of the current (new) installation, restores the database to that target and overrides the database configuration of the restored config (in this case from redis
to jsonl
). When the user wants to use redis afterwards, the iob setup custom
process is required to migrate the data.
ticaki