Skip to content

Commit

Permalink
backup emergency kit: remove redundant procedures (#36681)
Browse files Browse the repository at this point in the history
* backup emergency kit: remove redundant procedures

* Fix typo
  • Loading branch information
c0ffeeca7 authored and frenck committed Jan 3, 2025
1 parent ac5ccec commit 94ead7b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 21 deletions.
2 changes: 1 addition & 1 deletion source/_includes/common-tasks/update.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Best practice for updating Home Assistant Core:

1. Backup your installation{% if page.installation == "os" or page.installation == "supervised" %}, using the [backup functionality](/common-tasks/general/#backups) Home Assistant offers{% endif %}.
1. Back up your installation{% if page.installation == "os" or page.installation == "supervised" %}, using the [backup functionality](/common-tasks/general/#backups) Home Assistant offers{% endif %}.
2. Check the release notes for backward-incompatible changes on [Home Assistant release notes](/blog/categories/core/). Be sure to check all release notes between the version you are running and the one you are upgrading to. Use the search function in your browser (`CTRL + f` / `CMD + f`) and search for **Backward-incompatible changes**.
{% if page.installation == "os" or page.installation == "supervised" %}
3. Select **Create backup before updating** in case you encounter an issue that requires a rollback.
Expand Down
33 changes: 13 additions & 20 deletions source/more-info/backup-emergency-kit.markdown
Original file line number Diff line number Diff line change
@@ -1,46 +1,39 @@
---
title: "Backup emergency kit"
description: "Information about backup emergency kit"
related:
- docs: /common-tasks/general/#backups
title: Backups
---

Backups are encrypted (using [AES-128](https://en.wikipedia.org/wiki/Advanced_Encryption_Standard)). The backup emergency kit contains information needed to recover your backup, such as the encryption key and metadata about the backup.
[Backups](/common-tasks/general/#backups) are encrypted (using [AES-128](https://en.wikipedia.org/wiki/Advanced_Encryption_Standard)). The backup emergency kit contains information needed to recover your backup, such as the encryption key and metadata about the related backup.

## What is encryption and why are backups encrypted?
## 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 decryption 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 decryption key.
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

1. To download the emergency kit, go to {% my backup title="**Settings** > **System** > **Backups**" %}
1. To download the backup emergency kit, go to {% my backup title="**Settings** > **System** > **Backups**" %}
2. 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 configuration page.
- You can also download the encryption key again later from the backup configuration page.

![Screenshot showing the encryption key in the download dialog for the backup emergency kit](/images/more-info/backup_emergency_kit_01.png)

3. Store the kit somewhere safe, outside the Home Assistant system.
- Without the encryption key, there is no way to restore the backup.
- Without the encryption key, there is no way to restore the [backup](/common-tasks/general/#backups).

## 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.
When you set up your [backups](/common-tasks/general/#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.

1. To generate a new encryption key, go to {% my backup title="**Settings** > **System** > **Backups**" %}.
1. Go to {% my backup title="**Settings** > **System** > **Backups**" %}.
2. Select **Configure automatic backups** and under **Encryption key**, select **Change**.
3. If you haven't downloaded the old emergency kit yet, do it now.
4. Select **Change encryption key**.
- 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.
4. To generate a new encryption key, select **Change encryption key**.
5. Download the new encryption key and store it in a safe place.

## Checking and disabling backup location

1. Go to {% my backup title="**Settings** > **System** > **Backups**" %}.
2. Select **Configure automatic backups** and under **Locations**, you can see where your backups are currently stored.
3. You can also enable or disable a backup location.

## Changing the local backup location

1. To change the local default backup location, go to {% my backup title="**Settings** > **System** > **Backups**" %}.
2. In the top-right corner, select the three dots {% icon "mdi:dots-vertical" %} menu and select the local backup location.

## 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.

0 comments on commit 94ead7b

Please sign in to comment.