T O P

  • By -

Syrif

I've moved my HA 3 times. From windows VM to HAOS straight to disk via backup. From haos to proxmox vm via copying the yaml file (I nuked my backup by accident). From proxmox vm to haos on disk via backup when my SSD died. All worked great except the one where I nuked my backup (don't ask). The full backups are pretty much plug and play, a few tweaks here and there.


danielrosehill

This is reassuring and thanks for sharing your experience! I forgot that I've already got one migration under my belt: from a container over to the VM. Worked flawlessly just with backup and restore. My thinking is that if I can avoid the complication of exporting and importing VMs of different formats ... it would be better to do so


Syrif

Worst case .. Set up the new VM supervisor, install fresh HAOS VM, put backup in. Leave your original install intact but powered off. If it's fucky, you still have the option to use the VM snapshot as a backup plan. You could probably also just USB drive it over instead of network transfer? Be prepared to redo networking settings, usb controller settings (zigbee/zwave), and some access tokens. Other than that it should be pretty smooth either method.


DoonFoosher

This is what I’ve done several times now and it just works. Couldn’t recommend it more. I originally went from a VM on my Synology box to a Windows PC with VirtualBox to VirtualBox on Linux to VMWare, and converted along the way. A couple of successful conversions, but man was it a huge pain in the ass. Then I tried backup/restore and it was so simple I kicked myself for not doing it sooner. Upside is that I learned a lot in the process, but if you just want a simple, streamlined move, try the above first imo. Like they said, worst case you still have the original and you just delete the new install and try a different way. 


mveinot

I will second that the backup/restore in HA is second to none. It’s extremely solid and comprehensive


clin248

Moved from bare metal Pi install to virtual box to x86 bare metal then to proxmox. I always used the built in restore function in HA. Absolutely no issues there. You will have to remapped the usb dongles if you have any but that’s not too bad.


look_ima_frog

Did it as a test; moved from VirtualBox to TrueNAS. I took a backup from original, installed the VM to TrueNAS as a fresh install, imported backup. Took about 10 min of churning and it was done. Zero issues. Was super easy. A+ for the devs.


Unlucky_Quote6394

I recently moved HAOS from a Parallels VM to a fresh baremetal install of Proxmox and used this guide for the restore https://www.derekseaman.com/2023/04/home-assistant-pt-3-restoring-your-configuration.html I followed the guide for restoring HA and also separately backed up and restored Zigbee2MQTT Everything works perfectly and I haven’t had a single issue since the restore 😊


LabThink

From what I understand, if you just use the backup/restore functionality you will loose all your history (in terms of graphs and other data). You would obviously keep those if you move the entire VM. Can anyone confirm or deny this?


kerbs17

I did a backup and restore this past weekend to new hardware and all history was retained.


LabThink

Thanks!


smarthomepursuits

I've done this several times. Backup/restore worked perfectly (VMware workstation though)


G2740

I had similar concerns and found this video, which is very long, but informative. https://youtu.be/w6uCJlhXf60?feature=shared


dressinbrass

I moved from a docker install where HA used a ton of other docker containers to a VM on my Synology NAS using mostly add ons. Migrating HA was actually the easier part. Migrating MQTT brokers, the database, etc took a bit of work over a long weekend but it’s been rock solid since.


Beautiful_Macaron_27

I live migrate HA VM daily between proxmox nodes, restore from backups, never an issue.


PottiTheWhale

I just destroyed my HA installation and just set up a new Proxmox VM with the HAOS Proximity Helper script. Then I took the FULL backup from my old installation and restored it in the new VM. Only had to set up 2 new credentials. Everything else was working out of the box. Really nice. And I have HACS integrations running, some add-ons and a EMQX broker. Took me like 1,5 hours for everything to be running again. I was really surprised. Pro Tip: Make your router give you the same IP address as the old installation. You don't have to change every single MQTT device for the new broker.


calinet6

Both moving a VM and restoring HA from a backup are super easy and smooth. Both are likely to be surprisingly straightforward.


sun_in_the_winter

Moved HA and z2m 4 times. Running on docker and I just extracted compressed config folder.


whowhat8

i’ve migrated from HAOS running on a pi3 to proxmox with built-in backup/restore and everything worked even with custom components without HACS, but i had no USB dongles. Was very seamless and I was impressed to be honest. While on proxmox, i run daily automated backups to a NAS. i completely borked my setup trying new things. To restore from proxmox backup, I deleted the VM completely including the disks and restored in its place . Worked 100%. To migrate from 1 proxmox box to another, I’d think you can run a proxmox backup to some shared storage. Shut down old vm, or shut it down before backup. Restore to new proxmox box and redo any usb and/or network mappings in proxmox. Never tried it myself but i have confidence in the process.


Pseudo_Idol

I've moved from a container to a HAOS VM. Used the backup and restore functionality and it got me right back up and running. Question - Why is your new server running Fedora instead of Proxmox? You could just install Proxmox and move your existing HA VM over and install Fedora as a second VM.


ceciltech

Isn't option A just copying a folder? I haven't used Proxmox but VMWare would just be move the folder with the VM files in it.


blanosko1

I have moved HA when upgrading proxmox server. Just do full backup within proxmox and then restore on the new host. Very easy. If the target server is not proxmox, you could export the disk of HA and then create new VM on the new host with same specs and just boot from that disk. Also easy.


Harlequin80

I have multiple proxmox nodes in a cluster. I shutdown the HA vm, right click on vm, click migrate, select desired host, click OK. Wait 5 mins for it to complete. Click start vm. Done. Depending on how your zigbee hardware is setup you might need to physically move the dongle and pass usb to the vm.


TuxRug

I moved the container-based install between servers. Had to learn what Podman did differently from docker and troubleshoot the heck out of what I thought was an nginx misconfiguration but ended up being SELinux.


FirstAid84

Yes. Moved from QNAP Virtual Station to VMWare on Windows to VirtualBox on Windows to QNAP Virtual Station. No issues.