supervisor: Restoring from Backup broken (full or partial) from both Onboarding page and CLI

Describe the issue you are experiencing

Hi,

restoring from a backup (full or partial) seems to be broken. i have made a full backup and tried to restore it on a RPI3b+ (coming from 3b) i have tried restoring it from the onboarding screen (full and partial) on both accounts HA loses connection and nothing happens. the CLI shows nothing. i tried restoring a backup from the CLI (with “backups restore” ) but it finishes in about a second. (that should not happen) i also verified if any of the files in the /mnt/supervisor folder had changed or if any of the addons had been restored from the backup. i can confirm that not a single file has been changed after trying to restore the backup.

there are no logs, and i tried to restore a backup from CLI with a debug logging active, but that does not tell me anything. It looks like the restore actions from any backup are broken. please look into this, as this is a very bad thing for us all.

What operating system image do you use?

rpi3-64 (Raspberry Pi 3 64-bit OS)

What version of Home Assistant Operating System is installed?

Home Assistant OS 10.1

Did you upgrade the Operating System.

No

Steps to reproduce the issue

  1. create backup within supervisor on raspberry pi3b
  2. download backup to computer
  3. start the newly imaged RPI3b+
  4. on the onboarding screen choose “restore from backup”
  5. try restoring backup (process does not appear to do anything, can run forever, nothing changes) …

Anything in the Supervisor logs that might be useful for us?

there is nothing in the logs as supervisor is not yet running at the time of a onboarding restore

Anything in the Host logs that might be useful for us?

this is not accessible as it is not yet running at the time off a onboarding restore

System information

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 2
  • Comments: 81 (4 by maintainers)

Most upvoted comments

Tested by myself backup/restore on Pi4B Testsystem (SSD-Boot) (HA-OS 11.2 / supervisor-2023.11.6 / core-2023.12.2 / 7 addons / HACS with 3 custom integrations / backup size ~ 53MB)

Flashed HA-OS 11.2 to new ssd, waited for onboarding and uploaded my backup directly

full restore log:
Dec 14 16:59:23 homeassistant hassio_supervisor[567]: 23-12-14 17:59:23 INFO (MainThread) [supervisor.backups.manager] Successfully imported 5cabea88
Dec 14 16:59:33 homeassistant hassio_supervisor[567]: 23-12-14 17:59:33 INFO (MainThread) [supervisor.backups.manager] Full-Restore 5cabea88 start
Dec 14 16:59:33 homeassistant hassio_supervisor[567]: 23-12-14 17:59:33 INFO (MainThread) [supervisor.docker.monitor] Stopped docker events monitor
Dec 14 16:59:33 homeassistant hassio_supervisor[567]: 23-12-14 17:59:33 INFO (MainThread) [supervisor.addons] Phase 'application' stopping 0 add-ons
Dec 14 16:59:33 homeassistant hassio_supervisor[567]: 23-12-14 17:59:33 INFO (SyncWorker_1) [supervisor.docker.manager] Stopping homeassistant application
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (MainThread) [supervisor.addons] Phase 'services' stopping 0 add-ons
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (MainThread) [supervisor.addons] Phase 'system' stopping 0 add-ons
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (MainThread) [supervisor.addons] Phase 'initialize' stopping 0 add-ons
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (MainThread) [supervisor.backups.manager] Restore 5cabea88 starting stage docker_config
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (MainThread) [supervisor.backups.manager] Restore 5cabea88 starting stage folders
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (SyncWorker_3) [supervisor.backups.backup] Restore folder share
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (SyncWorker_3) [supervisor.backups.backup] Restore folder share done
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (SyncWorker_0) [supervisor.backups.backup] Restore folder addons/local
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (SyncWorker_0) [supervisor.backups.backup] Restore folder addons/local done
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (SyncWorker_1) [supervisor.backups.backup] Restore folder ssl
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (SyncWorker_1) [supervisor.backups.backup] Restore folder ssl done
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (SyncWorker_6) [supervisor.backups.backup] Restore folder media
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (SyncWorker_6) [supervisor.backups.backup] Restore folder media done
Dec 14 16:59:50 homeassistant hassio_supervisor[567]: 23-12-14 17:59:50 INFO (MainThread) [supervisor.backups.manager] Restore 5cabea88 starting stage home_assistant
Dec 14 17:01:56 homeassistant hassio_supervisor[567]: 23-12-14 18:01:56 INFO (MainThread) [supervisor.homeassistant.module] Restore Home Assistant Core config folder
Dec 14 17:01:57 homeassistant hassio_supervisor[567]: 23-12-14 18:01:57 INFO (MainThread) [supervisor.homeassistant.module] Restore Home Assistant Core config folder done
Dec 14 17:01:57 homeassistant hassio_supervisor[567]: 23-12-14 18:01:57 INFO (MainThread) [supervisor.homeassistant.module] Restore Home Assistant Core metadata
Dec 14 17:01:58 homeassistant hassio_supervisor[567]: 23-12-14 18:01:58 INFO (MainThread) [supervisor.backups.manager] Restore 5cabea88 starting stage remove_delta_addons
Dec 14 17:01:58 homeassistant hassio_supervisor[567]: 23-12-14 18:01:58 INFO (MainThread) [supervisor.backups.manager] Restore 5cabea88 starting stage addon_repositories
Dec 14 17:01:58 homeassistant hassio_supervisor[567]: 23-12-14 18:01:58 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/jens-maus/RaspberryMatic repository
Dec 14 17:02:09 homeassistant hassio_supervisor[567]: 23-12-14 18:02:09 INFO (MainThread) [supervisor.store] Loading add-ons from store: 74 all - 2 new - 0 remove
Dec 14 17:02:09 homeassistant hassio_supervisor[567]: 23-12-14 18:02:09 INFO (MainThread) [supervisor.backups.manager] Restore 5cabea88 starting stage addons
Dec 14 17:02:09 homeassistant hassio_supervisor[567]: 23-12-14 18:02:09 INFO (MainThread) [supervisor.addons.addon] Restore config for addon core_configurator
Dec 14 17:02:09 homeassistant hassio_supervisor[567]: 23-12-14 18:02:09 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon core_configurator
Dec 14 17:02:09 homeassistant hassio_supervisor[567]: 23-12-14 18:02:09 INFO (MainThread) [supervisor.docker.interface] Downloading docker image homeassistant/aarch64-addon-configurator with tag 5.7.0.
Dec 14 17:02:22 homeassistant hassio_supervisor[567]: 23-12-14 18:02:22 INFO (MainThread) [supervisor.addons.addon] Restoring data and config for addon core_configurator
Dec 14 17:02:22 homeassistant hassio_supervisor[567]: 23-12-14 18:02:22 INFO (MainThread) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-configurator with version 5.7.0
Dec 14 17:02:24 homeassistant hassio_supervisor[567]: 23-12-14 18:02:24 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-configurator with version 5.7.0
Dec 14 17:02:24 homeassistant hassio_supervisor[567]: 23-12-14 18:02:24 INFO (MainThread) [supervisor.addons.addon] Finished restore for add-on core_configurator
Dec 14 17:02:24 homeassistant hassio_supervisor[567]: 23-12-14 18:02:24 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore core_configurator
Dec 14 17:02:24 homeassistant hassio_supervisor[567]: 23-12-14 18:02:24 INFO (MainThread) [supervisor.addons.addon] Restore config for addon a0d7b954_ssh
Dec 14 17:02:24 homeassistant hassio_supervisor[567]: 23-12-14 18:02:24 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon a0d7b954_ssh
Dec 14 17:02:24 homeassistant hassio_supervisor[567]: 23-12-14 18:02:24 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/hassio-addons/ssh/aarch64 with tag 17.0.0.
Dec 14 17:02:59 homeassistant hassio_supervisor[567]: 23-12-14 18:02:59 INFO (MainThread) [supervisor.addons.addon] Restoring data and config for addon a0d7b954_ssh
Dec 14 17:02:59 homeassistant hassio_supervisor[567]: 23-12-14 18:02:59 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/ssh/aarch64 with version 17.0.0
Dec 14 17:02:59 homeassistant hassio_supervisor[567]: 23-12-14 18:02:59 WARNING (MainThread) [supervisor.docker.addon] Advanced SSH & Web Terminal running with disabled protected mode!
Dec 14 17:03:00 homeassistant hassio_supervisor[567]: 23-12-14 18:03:00 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/ssh/aarch64 with version 17.0.0
Dec 14 17:03:00 homeassistant hassio_supervisor[567]: 23-12-14 18:03:00 INFO (MainThread) [supervisor.addons.addon] Finished restore for add-on a0d7b954_ssh
Dec 14 17:03:00 homeassistant hassio_supervisor[567]: 23-12-14 18:03:00 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore a0d7b954_ssh
Dec 14 17:03:00 homeassistant hassio_supervisor[567]: 23-12-14 18:03:00 INFO (MainThread) [supervisor.addons.addon] Restore config for addon core_samba
Dec 14 17:03:00 homeassistant hassio_supervisor[567]: 23-12-14 18:03:00 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon core_samba
Dec 14 17:03:00 homeassistant hassio_supervisor[567]: 23-12-14 18:03:00 INFO (MainThread) [supervisor.docker.interface] Downloading docker image homeassistant/aarch64-addon-samba with tag 12.2.0.
Dec 14 17:03:07 homeassistant hassio_supervisor[567]: 23-12-14 18:03:07 INFO (MainThread) [supervisor.addons.addon] Restoring data and config for addon core_samba
Dec 14 17:03:07 homeassistant hassio_supervisor[567]: 23-12-14 18:03:07 INFO (MainThread) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-samba with version 12.2.0
Dec 14 17:03:08 homeassistant hassio_supervisor[567]: 23-12-14 18:03:08 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-samba with version 12.2.0
Dec 14 17:03:08 homeassistant hassio_supervisor[567]: 23-12-14 18:03:08 INFO (MainThread) [supervisor.addons.addon] Finished restore for add-on core_samba
Dec 14 17:03:08 homeassistant hassio_supervisor[567]: 23-12-14 18:03:08 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore core_samba
Dec 14 17:03:08 homeassistant hassio_supervisor[567]: 23-12-14 18:03:08 INFO (MainThread) [supervisor.addons.addon] Restore config for addon a0d7b954_nodered
Dec 14 17:03:08 homeassistant hassio_supervisor[567]: 23-12-14 18:03:08 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon a0d7b954_nodered
Dec 14 17:03:08 homeassistant hassio_supervisor[567]: 23-12-14 18:03:08 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/hassio-addons/node-red/aarch64 with tag 16.0.2.
Dec 14 17:03:10 homeassistant hassio_supervisor[567]: 23-12-14 18:03:10 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from core_samba
Dec 14 17:03:51 homeassistant hassio_supervisor[567]: 23-12-14 18:03:51 INFO (MainThread) [supervisor.addons.addon] Restoring data and config for addon a0d7b954_nodered
Dec 14 17:03:51 homeassistant hassio_supervisor[567]: 23-12-14 18:03:51 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/node-red/aarch64 with version 16.0.2
Dec 14 17:03:53 homeassistant hassio_supervisor[567]: 23-12-14 18:03:53 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/node-red/aarch64 with version 16.0.2
Dec 14 17:03:53 homeassistant hassio_supervisor[567]: 23-12-14 18:03:53 INFO (MainThread) [supervisor.addons.addon] Finished restore for add-on a0d7b954_nodered
Dec 14 17:03:53 homeassistant hassio_supervisor[567]: 23-12-14 18:03:53 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore a0d7b954_nodered
Dec 14 17:03:53 homeassistant hassio_supervisor[567]: 23-12-14 18:03:53 INFO (MainThread) [supervisor.addons.addon] Restore config for addon core_mosquitto
Dec 14 17:03:53 homeassistant hassio_supervisor[567]: 23-12-14 18:03:53 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon core_mosquitto
Dec 14 17:03:53 homeassistant hassio_supervisor[567]: 23-12-14 18:03:53 INFO (MainThread) [supervisor.docker.interface] Downloading docker image homeassistant/aarch64-addon-mosquitto with tag 6.4.0.
Dec 14 17:04:20 homeassistant hassio_supervisor[567]: 23-12-14 18:04:20 INFO (MainThread) [supervisor.addons.addon] Restoring data and config for addon core_mosquitto
Dec 14 17:04:21 homeassistant hassio_supervisor[567]: 23-12-14 18:04:21 INFO (MainThread) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-mosquitto with version 6.4.0
Dec 14 17:04:23 homeassistant hassio_supervisor[567]: 23-12-14 18:04:23 INFO (MainThread) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-mosquitto with version 6.4.0
Dec 14 17:04:23 homeassistant hassio_supervisor[567]: 23-12-14 18:04:23 INFO (MainThread) [supervisor.addons.addon] Finished restore for add-on core_mosquitto
Dec 14 17:04:23 homeassistant hassio_supervisor[567]: 23-12-14 18:04:23 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore core_mosquitto
Dec 14 17:04:23 homeassistant hassio_supervisor[567]: 23-12-14 18:04:23 INFO (MainThread) [supervisor.addons.addon] Restore config for addon de838cd8_raspberrymatic-dev
Dec 14 17:04:23 homeassistant hassio_supervisor[567]: 23-12-14 18:04:23 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon de838cd8_raspberrymatic-dev
Dec 14 17:04:23 homeassistant hassio_supervisor[567]: 23-12-14 18:04:23 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/jens-maus/raspberrymatic with tag 3.73.9.20231212-993ba20.
Dec 14 17:04:24 homeassistant hassio_supervisor[567]: 23-12-14 18:04:24 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon File editor to start, took more than 120 seconds
Dec 14 17:04:32 homeassistant hassio_supervisor[567]: 23-12-14 18:04:32 INFO (MainThread) [supervisor.discovery] Sending discovery to Home Assistant mqtt from core_mosquitto
Dec 14 17:04:32 homeassistant hassio_supervisor[567]: 23-12-14 18:04:32 INFO (MainThread) [supervisor.discovery] Discovery 52b0344fa2824c0f84cfcb6bdd8538c8 message ignore
Dec 14 17:04:33 homeassistant hassio_supervisor[567]: 23-12-14 18:04:33 INFO (MainThread) [supervisor.services.modules.mqtt] Set core_mosquitto as service provider for mqtt
Dec 14 17:05:00 homeassistant hassio_supervisor[567]: 23-12-14 18:05:00 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon Advanced SSH & Web Terminal to start, took more than 120 seconds
Dec 14 17:05:08 homeassistant hassio_supervisor[567]: 23-12-14 18:05:08 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon Samba share to start, took more than 120 seconds
Dec 14 17:05:33 homeassistant hassio_supervisor[567]: 23-12-14 18:05:33 INFO (MainThread) [supervisor.addons.addon] Restoring data and config for addon de838cd8_raspberrymatic-dev
Dec 14 17:05:33 homeassistant hassio_supervisor[567]: 23-12-14 18:05:33 INFO (MainThread) [supervisor.host.apparmor] Adding/updating AppArmor profile: de838cd8_raspberrymatic-dev
Dec 14 17:05:33 homeassistant hassio_supervisor[567]: 23-12-14 18:05:33 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/jens-maus/raspberrymatic with version 3.73.9.20231212-993ba20
Dec 14 17:05:33 homeassistant hassio_supervisor[567]: 23-12-14 18:05:33 INFO (MainThread) [supervisor.addons.addon] Finished restore for add-on de838cd8_raspberrymatic-dev
Dec 14 17:05:33 homeassistant hassio_supervisor[567]: 23-12-14 18:05:33 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore de838cd8_raspberrymatic-dev
Dec 14 17:05:33 homeassistant hassio_supervisor[567]: 23-12-14 18:05:33 INFO (MainThread) [supervisor.addons.addon] Restore config for addon de838cd8_raspberrymatic
Dec 14 17:05:33 homeassistant hassio_supervisor[567]: 23-12-14 18:05:33 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon de838cd8_raspberrymatic
Dec 14 17:05:33 homeassistant hassio_supervisor[567]: 23-12-14 18:05:33 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/jens-maus/raspberrymatic with tag 3.73.9.20231130.
Dec 14 17:05:53 homeassistant hassio_supervisor[567]: 23-12-14 18:05:53 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon Node-RED to start, took more than 120 seconds
Dec 14 17:06:23 homeassistant hassio_supervisor[567]: 23-12-14 18:06:23 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon Mosquitto broker to start, took more than 120 seconds
Dec 14 17:06:43 homeassistant hassio_supervisor[567]: 23-12-14 18:06:43 INFO (SyncWorker_5) [supervisor.docker.manager] Cleanup images: ['ghcr.io/jens-maus/raspberrymatic:3.73.9.20231212-993ba20']
Dec 14 17:06:46 homeassistant hassio_supervisor[567]: 23-12-14 18:06:46 INFO (MainThread) [supervisor.addons.addon] Restoring data and config for addon de838cd8_raspberrymatic
Dec 14 17:06:46 homeassistant hassio_supervisor[567]: 23-12-14 18:06:46 INFO (MainThread) [supervisor.host.apparmor] Adding/updating AppArmor profile: de838cd8_raspberrymatic
Dec 14 17:06:46 homeassistant hassio_supervisor[567]: 23-12-14 18:06:46 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/jens-maus/raspberrymatic with version 3.73.9.20231130
Dec 14 17:06:46 homeassistant hassio_supervisor[567]: 23-12-14 18:06:46 INFO (MainThread) [supervisor.addons.addon] Finished restore for add-on de838cd8_raspberrymatic
Dec 14 17:06:46 homeassistant hassio_supervisor[567]: 23-12-14 18:06:46 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore de838cd8_raspberrymatic
Dec 14 17:06:46 homeassistant hassio_supervisor[567]: 23-12-14 18:06:46 INFO (MainThread) [supervisor.backups.manager] Restore 5cabea88 starting stage await_home_assistant_restart
Dec 14 17:06:46 homeassistant hassio_supervisor[567]: 23-12-14 18:06:46 INFO (MainThread) [supervisor.backups.manager] Restore 5cabea88 starting stage await_addon_restarts
Dec 14 17:06:46 homeassistant hassio_supervisor[567]: 23-12-14 18:06:46 INFO (MainThread) [supervisor.backups.manager] Restore 5cabea88 starting stage check_home_assistant
Dec 14 17:06:46 homeassistant hassio_supervisor[567]: 23-12-14 18:06:46 INFO (SyncWorker_1) [supervisor.docker.manager] Starting homeassistant
Dec 14 17:06:47 homeassistant hassio_supervisor[567]: 23-12-14 18:06:47 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
Dec 14 17:06:55 homeassistant hassio_supervisor[567]: 23-12-14 18:06:55 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state freeze
Dec 14 17:06:55 homeassistant hassio_supervisor[567]: 23-12-14 18:06:55 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
Dec 14 17:06:56 homeassistant hassio_supervisor[567]: 23-12-14 18:06:56 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
Dec 14 17:06:56 homeassistant hassio_supervisor[567]: 23-12-14 18:06:56 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
Dec 14 17:06:56 homeassistant hassio_supervisor[567]: 23-12-14 18:06:56 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
Dec 14 17:06:56 homeassistant hassio_supervisor[567]: 23-12-14 18:06:56 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
Dec 14 17:06:57 homeassistant hassio_supervisor[567]: 23-12-14 18:06:57 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
Dec 14 17:06:57 homeassistant hassio_supervisor[567]: 23-12-14 18:06:57 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/jens-maus/RaspberryMatic repository
Dec 14 17:06:57 homeassistant hassio_supervisor[567]: 23-12-14 18:06:57 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to NOT_RUNNING
Dec 14 17:07:03 homeassistant hassio_supervisor[567]: 23-12-14 18:07:03 INFO (MainThread) [supervisor.store] Loading add-ons from store: 74 all - 0 new - 0 remove
Dec 14 17:07:03 homeassistant hassio_supervisor[567]: 23-12-14 18:07:03 INFO (MainThread) [supervisor.store] Loading add-ons from store: 74 all - 0 new - 0 remove
Dec 14 17:07:57 homeassistant hassio_supervisor[567]: 23-12-14 18:07:57 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant Core state changed to RUNNING
Dec 14 17:07:57 homeassistant hassio_supervisor[567]: 23-12-14 18:07:57 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
Dec 14 17:07:57 homeassistant hassio_supervisor[567]: 23-12-14 18:07:57 INFO (MainThread) [supervisor.backups.manager] Full-Restore 5cabea88 done
   

The restore took around 8-9 minutes. I had to refresh the “onboarding restore page” to get into homeassistant. Don’t know if it’s eventually self changing from “restoring animation” to homeassistant, but i think not.

In homeassistant everything is there but something is wrong. All addons are shown as stopped in the addons overview and i can’t access them through the side panel. If i look in the addon details i see that they are all running.

I had to reboot ha to get back everything to normal.

In general, restore a full backup works for me.

Not fixed, I uploaded a full backup from a proxmox to a NUC and it’s stuck. CPU it’s at 100%

It would be necessary for someone to really want to solve this problem. Right now everyone is whistling into the air

Exactly this. So unless one of us (users) is interested in fixing, no one else is going to take it upon themselves to solve.

Great point.

I’m having the same issues - some - but not all - full backups are unrestorable. I have only been restoring from the GUI, so I have no idea what stage it’s stuck at. But when it occurs, HA is not listening on port 8123, even after waiting a very long time (hours). As far as I can tell, there is a pattern : when the tar ball exceeds around 500MB, that’s when the problem with restores start showing up. My sqlite history database reaches that size in about 7-10 days given the number of devices and sensors I have. “fortunately” the history database corrupts itself and resets to 0 in approximately that time frame (that’s another separate problem I have yet to file an issue on) so the subsequent backups become smaller. I would really appreciate some help with this. I have several unrestorable backups I can test if there is a tentative fix.

It would be necessary for someone to really want to solve this problem. Right now everyone is whistling into the air

I’m having the same issues - some - but not all - full backups are unrestorable. I have only been restoring from the GUI, so I have no idea what stage it’s stuck at. But when it occurs, HA is not listening on port 8123, even after waiting a very long time (hours). As far as I can tell, there is a pattern : when the tar ball exceeds around 500MB, that’s when the problem with restores start showing up. My sqlite history database reaches that size in about 7-10 days given the number of devices and sensors I have. “fortunately” the history database corrupts itself and resets to 0 in approximately that time frame (that’s another separate problem I have yet to file an issue on) so the subsequent backups become smaller. I would really appreciate some help with this. I have several unrestorable backups I can test if there is a tentative fix.

Just to follow up from my prior comment; all my restore attempts (I had 4 VMs trying to restore various recent backups) seemingly succeeded. Specifically, my “restore the 50MB backup named CURRENT_BACKUP” (number 5 in prev comment) was successful; in a more-recently-created VM w/ 4 cores (2.0GHz) and 8GB RAM, restoring the CURRENT_BACKUP (50MB) file took ~4.5hrs (4hr 27min; calculating between Full-Restore 184bd6e2 start and Full-Restore 184bd6e2 done; see logs below).

Aug 28 18:35:38 homeassistant hassio_supervisor[532]: 23-08-28 11:35:38 INFO (MainThread) [supervisor.backups.manager] Successfully imported 184bd6e2
Aug 28 18:35:48 homeassistant hassio_supervisor[532]: 23-08-28 11:35:48 INFO (MainThread) [supervisor.backups.manager] Full-Restore 184bd6e2 start
...
Aug 28 18:36:03 homeassistant hassio_supervisor[532]: 23-08-28 11:36:03 INFO (MainThread) [supervisor.backups.manager] Restoring 184bd6e2 Home Assistant Core
Aug 28 22:56:16 homeassistant hassio_supervisor[532]: 23-08-28 15:56:16 INFO (MainThread) [supervisor.homeassistant.module] Restore Home Assistant Core config folder
Aug 28 22:56:41 homeassistant hassio_supervisor[532]: 23-08-28 15:56:41 INFO (MainThread) [supervisor.homeassistant.module] Restore Home Assistant Core config folder done
Aug 28 22:56:41 homeassistant hassio_supervisor[532]: 23-08-28 15:56:41 INFO (MainThread) [supervisor.homeassistant.module] Restore Home Assistant Core metadata
Aug 28 22:56:44 homeassistant hassio_supervisor[532]: 23-08-28 15:56:44 INFO (MainThread) [supervisor.backups.manager] Removing Add-ons not in the backup 184bd6e2
...
Aug 28 23:02:55 homeassistant hassio_supervisor[532]: 23-08-28 16:02:55 INFO (MainThread) [supervisor.backups.manager] Full-Restore 184bd6e2 done

Of the ~4.5 hrs, about 4.33 (4hr 20min) was spent strictly between Restoring 184bd6e2 Home Assistant Core and Restore Home Assistant Core config folder; looking at the current main branch (git hash for future ref here), something(s) in the below code (marked w/ IJ breakpoint - a red dot in the gutter) is taking a lot longer than previously (specifically, between the log line "Restoring %s Home Assistant Core" in manager.py, calling into backup.py, and then the subsequent log line "Restore Home Assistant Core config folder" in module.py).

Screenshot 2023-08-30 at 05 33 13

Given my previous comment about (1) my 1153MB backup file from ~3 weeks ago (from version 2023.6.3) and (2) my 50MB backup file from yesterday (from version 2023.8.4) being so drastically different in size, I’m a bit suspect it might be related to some of the tar extract code (the only other calls I see unrelated to tar extraction is the call to await self.sys_homeassistant.core.stop() which I suspect should be relatively fast). The only recent change I see in these lines is https://github.com/home-assistant/supervisor/issues/4229 , which changes the buffer size from the default of 10240 (10KB) to 4194304 (4MB).

Received my Yellow today, I am disappointed, cannot restore, I let it turn for 2 hours, no GUI, no indication anywhere, nothing happens. Tried from the onboarding screen, tried from a dummy account aswell

My Yellow took 6 hours. Give it time

Same problem here. After the last update my system is brocken. I can use it for 1 to 2 minutes and then it loses parts of itself. The scrollbar disappears, I can no longer look at the logs,… Oddly enough, some of my light switches still work. When I try to restore a backup, nothing happens. Even after a new installation, I can’t restore a backup. home-assistant_2023-05-17T19-45-23.099Z.log