From 8f5c54cae0deea58a493e8b4ceb0e871f4a3aa69 Mon Sep 17 00:00:00 2001 From: Mike Degatano Date: Sat, 9 Sep 2023 04:54:50 -0400 Subject: [PATCH] Document new freeze and thaw APIs in supervisor (#1902) --- docs/api/supervisor/endpoints.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/api/supervisor/endpoints.md b/docs/api/supervisor/endpoints.md index f10afad9..442a4f9d 100644 --- a/docs/api/supervisor/endpoints.md +++ b/docs/api/supervisor/endpoints.md @@ -841,6 +841,32 @@ Reload backup from storage. + + +Put Supervisor in a freeze state and prepare Home Assistant and addons for an external backup. + +:::note + +This does not take a backup. It prepares Home Assistant and addons for one but the expectation +is that the user is using an external tool to make the backup. Such as the snapshot feature in +KVM or Proxmox. The caller should call `/backups/thaw` when done. + +::: + +**Payload:** + +| key | type | optional | description | +| ------- | ----- | -------- | ----------------------------------------------------------------------------- | +| timeout | int | True | Seconds before freeze times out and thaw begins automatically (default: 600). | + + + + + +End a freeze initiated by `/backups/freeze` and resume normal behavior in Home Assistant and addons. + + + Download the backup file with the given slug.