Add freeze/thaw apis for external snapshots (#4538)

* Add freeze/thaw apis for external backups

* Error when thaw called before freeze

* Timeout must be > 0
This commit is contained in:
Mike Degatano
2023-09-09 04:54:19 -04:00
committed by GitHub
parent 0aafda1477
commit 44daffc65b
14 changed files with 577 additions and 213 deletions

View File

@@ -581,6 +581,10 @@ class HomeAssistantBackupError(BackupError, HomeAssistantError):
"""Raise if an error during Home Assistant Core backup is happening."""
class BackupJobError(BackupError, JobException):
"""Raise on Backup job error."""
# Security