Backup via cmd: move steps to OS and supervised sections (#36907)

This commit is contained in:
c0ffeeca7 2025-01-13 13:07:44 +01:00 committed by GitHub
parent 2b38528ac1
commit afa68c45f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 28 additions and 8 deletions

View File

@ -79,14 +79,6 @@ This creates a backup instantly. You can create a manual backup at any time, irr
6. Download the [backup emergency kit](/more-info/backup-emergency-kit/) and store it somewhere safe. Make sure you take note of the backup name it belongs to.
7. To start the backup process, select **Create backup**.
### Alternative: Creating a backup using the Home Assistant Command Line Interface
1. `ha backups list` - lists backups and their slugnames
2. `ha backups restore slugname` - restores a specific backup
3. `ha backups new --name nameofbackup` - create a backup
For additional information about command line usage, use the `ha help` command or refer to the [Home Assistant Command Line documentation](/common-tasks/os/#home-assistant-via-the-command-line).
### Downloading your local backups
There are multiple ways to download your local backup from your Home Assistant instance and store it on another device:

View File

@ -10,6 +10,20 @@ This section will provide guides to some common tasks and information which you
{% include common-tasks/file_access.md %}
## Backup
To learn how to back up the system or how to restore a system from a backup, refer to the backup documentation under [common tasks](/common-tasks/general/#backups).
### Alternative: Creating a backup using the Home Assistant Command Line Interface
In general, to create or restore from a backup, follow the steps described under [common tasks](/common-tasks/general/#backups). However, If you have the {% term "Home Assistant Operating System" %} installed, you can also create a backup from the command line. Follow these steps:
1. `ha backups list` - lists backups and their slugnames
2. `ha backups restore slugname` - restores a specific backup
3. `ha backups new --name nameofbackup` - create a backup
For additional information about command line usage, use the `ha help` command or refer to the [Home Assistant Command Line documentation](/common-tasks/os/#home-assistant-via-the-command-line).
## Updating Home Assistant
If you have the {% term "Home Assistant Operating System" %} installed, you receive update notifications from different components:

View File

@ -10,6 +10,20 @@ related:
{% include common-tasks/file_access.md %}
## Backup
To learn how to back up the system or how to restore a system from a backup, refer to the backup documentation under [common tasks](/common-tasks/general/#backups).
### Alternative: Creating a backup using the Home Assistant Command Line Interface
In general, to create or restore from a backup, follow the steps described under [common tasks](/common-tasks/general/#backups). However, If you have the {% term "Home Assistant Supervised" %} installed, you can also create a backup from the command line. Follow these steps:
1. `ha backups list` - lists backups and their slugnames
2. `ha backups restore slugname` - restores a specific backup
3. `ha backups new --name nameofbackup` - create a backup
For additional information about command line usage, use the `ha help` command or refer to the [Home Assistant Command Line documentation](/common-tasks/supervised/#home-assistant-via-the-command-line).
## Update
{% include common-tasks/update.md %}