ElectriFixHome Automation
Perth WA · worldwide remote

Home › Help guides

How to back up and restore Home Assistant properly

Updated 25 September 2026

A Home Assistant backup is only worth something if three things are true: it exists somewhere other than the machine it backs up, you have the key to open it, and you know how to put it back. Most people have at most one of the three. This guide covers all of them, then walks through a restore without losing more than you meant to.

What a backup actually is

In Home Assistant, a backup is an archive made at Settings → System → Backups. What's in it is chosen per backup:

Recent versions encrypt backups by default. The key is in an emergency kit Home Assistant gives you when you set up backups. An archive without its key can't be restored, so a backup whose key you've lost isn't a backup.

A downloaded backup, once decrypted, contains your passwords and access tokens in plain text. Treat the archive and the key as two separate secrets and keep them apart.

Backing up properly

If you have no backups at all, the ten-minute fix is the short version. The full version:

Pick the smallest restore that fixes it

Restoring a full backup is the biggest hammer you have. It puts back everything included in the archive, discards everything changed since, and restarts Home Assistant. Use the smallest tool that fixes the problem:

How to restore a backup

  1. Take a backup of how things are now. Even if they're broken. A restore is itself irreversible, and this is your way back if you pick the wrong archive.
  2. Pick the right archive. In Settings → System → Backups, find the newest backup from before the problem started. Check its date and size: a backup of a few megabytes probably left out something you need.
  3. Have the encryption key ready. You'll be asked for it if the backup is encrypted. It's in your emergency kit.
  4. Choose what to restore. Open the backup and choose Restore. On Home Assistant OS and Supervised you can pick parts: Home Assistant settings, the history database, individual apps and folders. Pick only what you need.
  5. Let it finish. Home Assistant restarts and may be unreachable for several minutes. Don't power it off mid-restore.
  6. For a new machine or a dead one, restore during setup. Install Home Assistant fresh. On the first screen of onboarding, choose to restore from a backup instead of creating a new home, then upload the backup file (or, if you use Home Assistant Cloud, pick it from there) and enter the key.
  7. Check it properly afterwards. Go through Settings → Devices & services for integrations that failed, and re-authenticate any cloud integration that asks: a restore brings back an old login that may have expired. Check Settings → System → Repairs and the log. Anything that was disabled when the backup was taken comes back disabled.

Restoring on Container and Core

Without a Supervisor there are no apps and no partial restores: a restore puts back the Home Assistant configuration as a whole. From 2025.1 onwards, Home Assistant itself can create backups on these installs, and current versions restore them from the same Backups page. On older versions, update first; there's no good backup story before that. Whatever the version, keep a copy of your whole config folder somewhere else before any big change.

What doesn't count as a backup

Deleting old backups

Home Assistant's scheduled clean-up never deletes your last backup. A manual delete has no such protection, and there's no age check either. When you clear space, delete oldest first, and leave at least one recent backup that you have the key for.

Do it properly

If you'd rather someone checked it: our Check-up (A$29, no subscription) offers a backup before it changes anything and tells you what it could and couldn't see about your backups. See what's included.

ElectriFix Perth Rockingham, WA Home Help guides Claude's robot Terms Privacy Refunds