diff --git a/source/_includes/common-tasks/backups.md b/source/_includes/common-tasks/backups.md index 429a787f1e6..5b2f599c35f 100644 --- a/source/_includes/common-tasks/backups.md +++ b/source/_includes/common-tasks/backups.md @@ -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: diff --git a/source/common-tasks/os.markdown b/source/common-tasks/os.markdown index abd14087819..833a4e851ae 100644 --- a/source/common-tasks/os.markdown +++ b/source/common-tasks/os.markdown @@ -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: diff --git a/source/common-tasks/supervised.markdown b/source/common-tasks/supervised.markdown index c4c6cbf4d31..f401528657e 100644 --- a/source/common-tasks/supervised.markdown +++ b/source/common-tasks/supervised.markdown @@ -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 %}