A repeatable backup process and a step-by-step hardware migration workflow for Home Assistant. What backups actually contain, what they don’t, and how to move your entire setup to new hardware without losing anything.
If you do nothing else from this guide today, do this. It will not cover every scenario, but it will get you out of the worst one: total loss with no recoverable backup.
Install types: Home Assistant OS, Supervised, Container/Core, Proxmox VM. Some commands and add-ons apply only to HAOS/Supervised; Container/Core users may need manual storage paths or rclone workflows directly. Where it matters, this guide flags the difference.
Assumes: you can reach Settings → System → Backups, and you can store the backup encryption key outside Home Assistant. Both are non-negotiable; everything else is detail.
Verified against: Home Assistant 2026.4.
Most people think “Home Assistant backup” is one thing. It is three things, and missing any of them turns a recovery into a rebuild.
secrets.yaml. These are documented in Appendix B.If you have nothing today, this is the smallest setup that will save you from disaster:
An untested backup is a hope, not a backup. Chapter 06 covers the 15-minute restore drill. Run it once, today. Most people learn their backups don’t restore the way they thought during a real outage.
Spin up a Home Assistant VM, virtual machine, or even a spare Raspberry Pi. Restore your most recent backup to it. Notice what works, what doesn’t, and what asks you to log in again. The answers are the contents of Appendix B — the integration re-auth tracker.
This is the chapter most guides skip. It is the only chapter that matters when something is actually broken.
Most people learn this the hard way mid-migration: an HA backup is not a snapshot of your entire smart home. It is a snapshot of most of it. The gap is where guides fail people, and it’s where this one starts.
An HA backup is a single .tar archive containing a structured snapshot of your installation. The default full backup includes:
configuration.yaml, automations.yaml, scripts.yaml, scenes.yaml, your dashboards, custom blueprints, and the contents of /config/.storage/.secrets.yaml) and any other files in /config/.HA gives you two backup types. The naming is misleading.
Neither version is “everything that exists in your HA instance.” The next page documents what neither of them captures.
This list is the most-printed page of this guide for a reason. None of these are bugs. They’re design choices that make sense individually and collectively turn a restore into a chase.
Anything you authorized through a browser-based OAuth flow generally survives the backup as a configuration entry, but the actual token is rotated by the provider and may need to be re-authorized after restore. The list of integrations in Appendix B documents which providers do this.
Anything you typed into a UI form that wasn’t backed by secrets.yaml is stored in /config/.storage/core.config_entries. This file is in the backup — but the credentials inside it may be encrypted with a key that’s tied to your installation, not your user. Restore on a fresh install, and some of those entries decode to empty.
This is where most migrations break.
zigbee.db) in the config directory and survives. Z-Wave JS stores a .json network store. But both depend on the USB device path being the same on the new host. If your dongle was /dev/ttyUSB0 on the old host and is /dev/ttyACM0 on the new one, you’ll edit your config before HA recognizes it.devices.yaml file is in the Z2M add-on’s data. If you didn’t opt into add-on data backup, you’ll re-pair every device.The complete integration-by-integration breakdown is Appendix B. That table is a working reference: keep it open during a migration and tick off each integration as you confirm it’s working.
You've read what HA backup actually covers. The full blueprint covers the three-layer safety net, native HA backups done right, where backups should land, when HA-native isn't enough, restore testing, full hardware migration, SD-vs-SSD durability, pre-update safety, and disaster recovery. About ~70 pages.