Bench Notes · Home Lab Series
Vol. 09 · Digital Guide
Bench Notes · Vol. 9

Home Assistant
Backup & Migration
Blueprint

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.

Home Assistant Backup & Restore Hardware Migration Disaster Recovery
3
Backup Layers
25+
Integrations
10
Chapters
4
Appendices
By HomeLabGuides · v1.5.0 · Verified against HA 2026.4
benchnotes.net
Get the complete guide
I put the full build, checklists, troubleshooting steps, and the printable reference in one package. One-time purchase. Instant download.
Get the complete guide
★ Quick Start

Protected in 30 minutes.

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.

Applies To

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.

The three things that need backing up

Most people think “Home Assistant backup” is one thing. It is three things, and missing any of them turns a recovery into a rebuild.

  1. HA configuration: your automations, scenes, scripts, dashboards, integrations list. This is what the built-in Backup integration captures.
  2. Add-on data: Z-Wave JS pairings, ZHA database, Mosquitto retained messages, Node-RED flows. Some of this is included in HA backups by default; some is not.
  3. The credentials and tokens that don’t survive a backup: Cloudflare tunnel tokens, OAuth integrations, anything you typed into a UI form that wasn’t in secrets.yaml. These are documented in Appendix B.

Minimum viable backup: 30 minutes, two locations

If you have nothing today, this is the smallest setup that will save you from disaster:

  1. Enable HA’s built-in Backup integration if it isn’t already on. Set it to run nightly. (Chapter 03.)
  2. Add one off-host destination. Any of these works: a Samba share on your NAS, Google Drive via HA’s official Google Drive integration, or rclone to Backblaze B2. (Chapter 04.) Same-disk backups are not backups.
  3. Take one full backup right now, copy it to a USB drive, and put the USB drive somewhere your house fire can’t reach. This is your nuclear-option recovery.
  4. Download the backup emergency kit from Settings → System → Backups → the three-dot menu. It contains the encryption key needed to restore. Store it in your password manager and one offline location, both outside Home Assistant.
Warn

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.

The restore test you should do today

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.

How this guide is organized

Quick Start · Execution matrix

Where commands actually run.

Every command block in this guide carries a Run on: tag; this is the map those tags point into. The single most common way a backup workflow fails is running the right command in the wrong container.

InstallationNative backup UIAppsWhere host tools (rclone, cron, scripts) runRecommended off-host path
HA OSYesYesNever in Core shell_command. Use a separate always-on machine (the “runner”), or skip host tools entirely by using native locationsNative location: network storage or Google Drive (§4.1, §4.4)
HA ContainerYesNoThe Docker host, via cron, with the backup directory mounted; or a dedicated sidecarHost rclone (§4.2) or native location
HA CoreYesNoThe host OS, via cron or a systemd timerHost service or native location
Proxmox VMYes (inside HA)Per guestPVE/PBS commands run on the hypervisor or PBS host, never inside the HA guestHA backup plus PBS VM backup (Ch 05)
Chapter 01

What HA backup
actually includes.

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.

§ 1.1 · The contents of the backup file

What’s in the .tar.

An HA backup is a single .tar archive containing a structured snapshot of your installation. The default full backup includes:

What is “full” vs “partial”

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.

§ 1.2 · What backups don’t restore

What you’ll need to redo.

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.

Tokens, OAuth, and credentials

Integrations configured through the UI live as configuration entries under /config/.storage, which is part of Home Assistant settings and restores with the backup, stored tokens included. What a provider does after restore is its own business: most accept the restored token and carry on; some expire or revoke it and trigger a reauthentication flow in HA. Appendix B documents what to expect, integration by integration.

Treat reauthorization as integration-specific, not a universal consequence of new hardware. The failure mode to plan for is a provider-side rejection (expired token, revoked app, changed redirect URL), which HA surfaces as a visible repair or reauth prompt: annoying, obvious, fixable.

Hardware-bound state

This is where most migrations break.

Tunnels, certificates, and external services

Cross-Reference

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.

§ 1.3 · The boundary test

What this backup doesn’t even try to protect.

An HA backup protects data stored inside the HA installation, plus the apps and folders you selected. It does not automatically protect anything that merely talks to HA. If part of your stack runs on another box, it has its own blast radius and needs its own plan.

Common externals that need their own backup

The test

For every dependency, record: where it runs · where its config lives · where its data lives · which backup protects it · how it’s restored · when that restore was last tested. If the answer to “which backup contains this?” is unclear, treat the service as unprotected, because it is. Appendix B flags the rows where an external deployment falls outside this guide’s backup entirely.

Inside the PDF
02Three Layers, One Safety Net
03Native HA Backups, Set Up Right
04Where Backups Should Land
05When HA-Native Isn't Enough
06An Untested Backup Is Just Hope
07The Hardware Migration: Step by Step
08SD Cards Die. SSDs Don't (Much).
09Backup Before You Update
10When the Server Is Gone
APre-Migration Checklist
BIntegration Re-Auth Tracker
CBackup Verification Checklist
DBackup Automation YAML
<
◆ End of the sample chapter ◆

The other 9 chapters are in the full guide.

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 85 pages.

Get the full guide

Read offline. Print it. Support the work.

The polished, printable version of Vol. 9: formatted for letter size, ad-free, yours to keep.

  • Full guide, about 85 pages
  • Polished PDF for print & tablet
  • Pay once, no subscription
  • PDF yours to keep; web reader access runs 30 days
  • Helps me write the next one
Get the full guide
$9.99 · PDF + web reader
  Secure checkout · Instant access
/div>