Restore a full backup
supervisor_restore_backupRestore a full Home Assistant backup after explicit confirmation to revert to a known-good state after a failed update or misconfiguration. Set confirm=True; changes since the backup are lost.
Instructions
Restore a full backup after an explicit confirmation.
Calls POST /backups/<slug>/restore/full, which replaces the HA
configuration, every add-on with its data, and the backed-up folders
with the backup's contents; anything changed since the backup was taken
is lost. Core and this nexus add-on restart as part of the restore, so
the call may drop the connection before it can reply. Without
confirm=True nothing is restored.
Use when: reverting to a known-good state after a failed update or
misconfiguration.
Not for: restoring only some add-ons/folders — Supervisor's partial
restore is not exposed by this tool.
Returns: Supervisor's restore-job result when confirmed; the reply may
never arrive because the add-on restarts mid-call.
Errors: {"error": "invalid_slug"} for a bad slug; returns {"error": "confirmation_required", "message": ..., "action": ...} when confirm is false; {"error": "HTTP <status>", "detail": ...} if the slug or password is wrong.
Limits: WARNING: discards every change made since the backup; requires
confirm=True.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Backup slug to restore, from `supervisor_list_backups`. | |
| confirm | No | Set true to actually restore the backup. False (default) performs no action. | |
| password | No | Password for an encrypted backup. Omit for an unencrypted one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||