* Show name of the backup agents in issue
* Show name of the backup agents in issue
* Update homeassistant/components/backup/manager.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix handling of renamed backup files in the core writer
* Adjust mocking
* Raise BackupAgentError instead of KeyError in get_backup_path
* Add specific error indicating backup not found
* Fix tests
* Ensure backups are loaded
* Fix tests
* Add support for per-backup agent encryption flag
* Adjust
* Don't attempt decrypting an unprotected backup
* Address review comments
* Add some tests
* Add fixture
* Rename fixture
* Correct condition for when we should encrypt or decrypt
* Update tests in integrations
* Improve test coverage
* Fix onedrive tests
* Add test
* Improve cipher worker shutdown
* Improve test coverage
* Fix google_drive tests
* Move inner class _CipherBackupStreamer._WorkerStatus to module scope
* Add backup endpoints to the onboarding integration
* Add backup as after dependency of onboarding
* Add test snapshots
* Fix stale docstrings
* Add utility function for getting the backup manager instance
* Return backup_id when uploading backup
* Change /api/onboarding/backup/restore to accept a JSON body
* Fix with_backup_manager
* Make the time for automated backups configurable
* Store time as a string, use None to indicate default time
* Don't add jitter if the time is set by user
* Include time of next automatic backup in response to backup/info
* Update tests
* Rename recurrence to state
* Include scheduled backup time in backup/config/info response
* Address review comments
* Update cloud test
* Add test for store migration
* Address review comments
* Fix typing
* Refactor test restore backup
* Refactor test restore backup wrong password
* Refactor test restore backup wrong parameters
* Update manager state after rebase
* Remove not needed patch
* Support decrypting backups when downloading
* Close stream
* Use test helper
* Wait for worker to finish
* Simplify
* Update backup.json
* Simplify
* Revert change from the future
* Clean up test_receive_backup_busy_manager
* Test receive backup agent error
* Test file write error during backup receive
* Test read tar error during backup receive
* Test non agent upload error during backup receive
* Test file read error during backup receive
* Add backup manager and read writer errors
* Clean up not needed default argument
* Clean up todo comment
* Trap agent bugs during upload
* Always release stream
* Clean up leftover
* Update test for backup with automatic settings
* Fix use of vol.Any
* Refactor test helper
* Only update successful timestamp if completed event is sent
* Always delete surplus copies
* Fix after rebase
* Fix after rebase
* Revert "Fix use of vol.Any"
This reverts commit 28fd7a544899bb6ed05f771e9e608bc5b41d2b5e.
* Inherit BackupReaderWriterError in IncorrectPasswordError
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>