Restore from backup

Hi, I am trying to test a restore from a full backup, but having no luck,

this is my setup

Home Assistant 2023.6.2
Supervisor 2023.06.2
Operating System 10.2
Frontend 20230608.0 - latest

I do a full backup, shut down my VM, spin up a new VM from an .OVA file, I try to restore from the backup, but the session just disconnects and nothing happens, nothing in the logs if I restart the VM.

i have loads of add-ons (inc HACS) and devices, any help would be appreciated…

I currently do an entire VM back up ~20G or so to another NAS and then cloud; just exploring a smaller backup solution; you do not have a backup, unless you test the restore process :slight_smile:

1 Like

After your explanation, I’m not sure what you’re doing in this step

Is this ova file HA OS or just a plain VM? Sorry, I’m using Proxmox and not VMware. :slight_smile:

The “normal” way would be, you setup your VM, load the version of HA OS corresponding to your backup and let it install. After the initial install you will get to the “onboarding” screen, where you can setup the Admin user OR restore a backup. That’s where you choose your backup and it should install. After some waiting time, depending on your backup size, the system will restart, and you should be presented by your login screen. Backup is now restored, everything should be there. :slight_smile:

thanks for the reply, TBH, its rather embarrassing, I cannot remember how I initially created the VM instance a few years ago, its gone through so many upgrades - I am using QNAP and Virtualization Station. Its got me thinking I did not import an image with a .OVA file

i have tried this file haos_ova-10.2.ova

https://github.com/home-assistant/operating-system/releases/download/10.2/haos_ova-10.2.ova

its really strange, as soon as I hit restore - the web connection is dropped, yet the connectivity is fine with ICMP?

How have you still lot shared the logs?

there are no logs to share within the GUI :frowning:

There is.
But that’s beside the point, it’s a VM, which means that you have console access to it.

ah yes, the console is working fine, could you share some commands in the CLI to pull the logs, unfortunately i do noy know them?

ha su logs
ha core logs

cool thanks, i have the output below, around 15:56 i did the restore, the web browser is now longer accessible

If that’s it, it’s probably still restoring. can be confirmed with ha info

really apricate your help, I have the following output, the VM is located on an SSD, not sure how long it should take or wait?

state: freeze means that it is indeed still restoring.
It can take anywhere from a few minutes to a few hours.

3 Likes

yes, something more is happening…Patience is a virtue

1 Like

Sorry for so many questions, what does ‘good’ look like with the ‘ha info’ command, I hope this thread also helps others learn like me :slight_smile:

1 Like

thanks for your help, it’s all working, i just needed to wait around 30 mins and change the IP address to my static address

1 Like

Wow, three hours not here and then… :rofl:

Great you got it working! :slight_smile:

1 Like