From 8e188ca1baff4ab1118e40042354947a00c564cc Mon Sep 17 00:00:00 2001 From: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Date: Thu, 2 Jan 2025 17:40:04 +0100 Subject: [PATCH] Free space: add links to backup (#36654) --- source/_includes/common-tasks/backups.md | 24 ++++++++++++++++++++++-- source/more-info/free-space.markdown | 15 +++++---------- 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/source/_includes/common-tasks/backups.md b/source/_includes/common-tasks/backups.md index f6dfd09adbc..170433d658c 100644 --- a/source/_includes/common-tasks/backups.md +++ b/source/_includes/common-tasks/backups.md @@ -88,12 +88,12 @@ For additional information about command line usage, use the `ha help` command o ### Downloading your local backups -There are multiple ways to download your local backup and store it on another device: +There are multiple ways to download your local backup from your Home Assistant instance and store it on another device: **Option 1**: Download from the backup page: 1. Under {% my supervisor_backups title="**Settings** > **System** > **Backups**" %}, select **Show all backups**. -2. To selection one backup, on the list, single-click or tap the backup of interest. +2. To select one backup, on the list, single-click or tap the backup of interest. - To select multiple backups, select the {% icon "mdi:order-checkbox-ascending" %} button. 3. In the dialog, select the three dots {% icon "mdi:dots-vertical" %} menu and select **Download backup**. - **Result**: The selected backup is stored in the **Downloads** folder of your computer. @@ -104,6 +104,26 @@ There are multiple ways to download your local backup and store it on another de - For example, [use the samba add-on](/common-tasks/{{page.installation}}/#installing-and-using-the-samba-add-on). 2. In your file explorer, access Home Assistant, open the `backup` folder and copy the file to your computer. +### Downloading a backup from Home Assistant Cloud + +If you were logged in to Home Assistant Cloud and had Cloud backup enabled, your last backup is stored on Home Assistant Cloud. + +1. To download the backup, log in to your [Home Assistant Cloud account](https://account.nabucasa.com/). +2. Under **Stored files**, you can see the latest available backup file. Select the download button. + +### Deleting obsolete backups + +If you defined an automatic backup and backup purge schedule, old backups are deleted automatically. However, you might still have some old backups around that you want to delete. + +To delete old backups, follow these steps: + +1. Under {% my supervisor_backups title="**Settings** > **System** > **Backups**" %}, select **Show all backups**. +2. To delete one backup, on the list, select the backup of interest. + - Select the three dots {% icon "mdi:dots-vertical" %} menu and select **Delete** +3. To delete multiple backups, select the {% icon "mdi:order-checkbox-ascending" %} button. + - From the list of backups, select all the ones you want to delete and select **Delete selected**. + - {% icon "mdi:information-outline" %} Consider keeping at least one recent backup for recovery purposes. + ### Restoring a backup There are two ways to use a backup: diff --git a/source/more-info/free-space.markdown b/source/more-info/free-space.markdown index f737abfaf62..05b214e90b0 100644 --- a/source/more-info/free-space.markdown +++ b/source/more-info/free-space.markdown @@ -47,20 +47,15 @@ the database. ### Deleting obsolete backups -Previous backups are not included when you create a new one. But they do take up space. To delete old backups, follow these steps: +Previous backups are not included when you create a new one. But they do take up space. -1. Go to {% my backup title="**Settings** > **System** > **Backups**" %}. -2. From the list of backups, select all the ones you want to delete, then select **Delete selected backups**. - - This clears up space in Home Assistant. +1. To delete old backups, follow the steps on [deleting obsolete backups](/common-tasks/os/#deleting-obsolete-backups). +2. Ideally, backups don't pile up on the system to begin with. + - To define how long automatic backups should be kept on the system, follow the steps on [setting up an automatic backup process](/common-tasks/os/#setting-up-an-automatic-backup-process). ### Storing backups outside of Home Assistant -Storing backups outside of Home Assistant makes sure they don't use space on Home Assistant to begin with. It also makes sure you can [restore Home Assistant from backup](/common-tasks/os/#restoring-a-backup) in case you have an issue with your current installation. - -1. Go to {% my backup title="**Settings** > **System** > **Backups**" %}, and from the list of backups, select the backup you want to keep. -2. In the dialog, select the checkbox for each component, in the three-dots menu, select **Download backup**. -3. Store the backup somewhere safe. - - For example, [add network storage](/common-tasks/os/#network-storage), and then [change your default backup location](/common-tasks/os/#change-default-backup-location). +Storing backups outside of Home Assistant makes sure they don't use space on Home Assistant to begin with. It also makes sure you can [restore Home Assistant from backup](/common-tasks/os/#restoring-a-backup) in case you have an issue with your current installation. Follow the steps on [defining backup locations](/common-tasks/os/#defining-backup-locations). ## Uninstalling unused add-ons