Black SanDisk USB flash drive with its connector extended on a wooden surface.
Tommy Halvarsson via Wikimedia Commons; cropped and retouched by Ubcule. Display may crop the image. · CC BY-SA 3.0 Unported · Cropped to fit

Start with the failure you want to recover from

If your Home Assistant hub stops starting, could you find your latest backup without opening its dashboard? A backup stored only on the hub can become inaccessible when the hub or its storage fails, even if the last backup was marked successful.

For a home in Mauritius, consider what would happen if your hub and other electronics were damaged in the same storm. A copy outside the hub gives you one way back; a securely stored copy outside the home gives you another.

Set up automatic backups and keep a separate copy

In Home Assistant, open Settings → System → Backups. Follow the setup prompts and download the emergency kit when offered. Choose a schedule and retention window that match how often you change your setup. Daily backups make sense if you regularly add devices or edit automations. Keep more than one recent version if you have room, so you can go back to a copy from before a problem started.

Check what the backup actually contains. If your energy history matters, check that history is included. If your database runs on another machine, it needs its own backup. On Home Assistant OS, review which apps and folders you need rather than assuming they are all included. If you export a copy manually, choose the encrypted download option: the ordinary download can decrypt the file as it downloads.

Use a supported second destination or copy an encrypted archive to separate storage. Try retrieving it from another device. The photo shows one example of removable storage; it’s not a product recommendation or a suggestion to keep your only copy on a USB drive.

Keep the matching key within reach

An encrypted archive isn’t enough on its own. Keep the emergency kit or its matching encryption key somewhere secure and accessible without the hub, such as a trusted password manager. Don’t store your only key and your only backup on the same device. If you change the key, save the new one and keep the old one for older encrypted backups you intend to retain.

Do a recovery check before an update

Find your off-device archive, confirm its date and make sure you can locate the matching key. That’s a readiness check, not proof that a restore will work. If you have suitable spare hardware, read the official onboarding restore instructions and test separately from your live setup, without letting the test instance operate household devices. Don’t wipe a working hub just for practice.

After major changes, make a fresh backup and confirm it reached the second destination. If there’s more than one person who maintains your setup, agree where they can find the backup and how they can get the key securely.

Sources and further reading

Product capabilities can change. Check the exact model and current documentation before buying.