I am running HA on Linux machine using Docker. I want to migrate it to new host (either running linux or MacOS), what is the recommended procedure to do so? Thanks! I found a lot of similar threads but it was slightly different setup, so want to make sure I don’t lose any data during this migration.
Hi, you can create a backup from within HA, install from scratch on your new host and at the onboarding screen use the backup to restore that on your new setup.
You can backup but I don’t see any way to restore with HA in docker.
With docker it’s probably easier to copy the config folder over. You can use ssh and rsync or USB.
Permissions is gonna be the issue. I created an HA user and run docker container as that user. When migrating i simply create same user.
For you you need to verify HA user and appropriately set permissions.
Create container >> check user:group of HA config files and folder >> stop container >> copy over config folder >> set folder/file user:group >> start container >> if not restored your permission are wrong or you missed the .storage folder in config when you copied files over
With the in-built backup feature, you are just making a copy of the configuration from HA.
AFAIK, you can use that on any type of HA installation during the onboarding restore feature.
Negative ghostrider, backup is in Core, but restore is a function of the Supervisor, therefore only versions of HA that include Supervisor. That’s HAOS and Supervised.
For docker you have to move /config and all it’s contents (including the hidden stuff)