Backup emergency kit
Backups are encrypted (using AES-128
What is encryption, and why are backups encrypted?
Encryption is a method of converting data into a coded format so that it can only be read by someone who has the encryption key. This ensures that your data about your home remains private. So even if someone else had a copy of your Home Assistant backup, it is unreadable for them without the encryption key.
Storing the backup emergency kit somewhere safe
-
To download the backup emergency kit, go to Settings > System > Backups.
-
If it is your first time defining backup settings, select Setup automatic backup and download the backup emergency kit.
- You can also download the encryption key again later from the backup configuration page.
-
Store the kit somewhere safe, outside the Home Assistant system.
- Without the encryption key, there is no way to restore the backup.
Changing your encryption key
When you set up your backups, an encryption key is generated automatically. This key is used for all your backups. You can replace this key with a new one, which will be used for all future backups. To decrypt backups created before the change, you will still need the previous encryption key.
- Go to Settings > System > Backups.
- Select Configure automatic backups and under Encryption key, select Change.
- If you haven’t downloaded the old emergency kit yet, do it now.
- As the new encryption key won’t work for the backups you’ve taken until now, keep it somewhere safe and make a note of which backups it applies to.
- To generate a new encryption key, select Change encryption key.
- Download the new encryption key and store it in a safe place.
I lost my backup encryption key - how can I retrieve it?
If you still have access to your Home Assistant instance you can download the encryption key again from the backup settings. If you have lost the encryption key, and have no access to your Home Assistant instance, there is no way to restore the backup.