I haven’t tested this solution.
*But in my opinion it’s easier to make a backup.
*Remove the old card.
*Insert a new card and format it.
*Restore the backup.
I didn’t had to restore backup (I did one just before turning iHost OFF) because:
I only replaced microSD card. I didn’t erase iHost.
The only app which was installed on microSD card was eWeLink app.
Also… what is important. When iHost started with new fresh microSD card:
all devices from eWeLink app in docker were still on iHost device list.
all scenes were in place.
So in this scenario the only thing I needed to do was format that new microSD card on iHost.
Download and install eWeLink app in docker. Login to my eWeLink account.
Then when I tried to sync devices from cloud… and clicked Sync on first device I was asked about token… then after I grant permission and I click sync on first device… all were synced.
So there was no reason to restore backup… as nothing was missing.
From my perspective and in my scenario replacing microSD card was super easy.
BTW… I replaced my card with Kingston Industrial grade card.
I think the newest firmware on iHost allows the zigbee network to backed up so that you can use it with Home Assistant. Almost all scenes I have are on Node Red, which also has it;s own backup. I think I’d just start as new and import my scenes and zigbee network. I think they should create a button in which scenes can be moved to Node Red. Couldn’t work in reverse because Node Red is more powerful but when I moved all my scenes to Node Red only 1 could not go, but it was super tedious. Then it is just Rooms, casts and dockers to set up again.