hass-core/homeassistant/components/backup
Joakim Sørensen 31dcc25ba5
Add handler to restore a backup file with the backup integration (#128365)
* Early pushout of restore handling for core/container

* Adjust after rebase

* Move logging definition, we should only do this if we go ahead with the restore

* First round

* More paths

* Add async_restore_backup to base class

* Block restore of new backup files

* manager tests

* Add websocket test

* Add testing to main

* Add coverage for missing backup file

* Catch FileNotFoundError instead

* Patch Path.read_text instead

* Remove HA_RESTORE from keep

* Use secure paths

* Fix restart test

* extend coverage

* Mock argv

* Adjustments
2024-11-01 16:25:22 +01:00
..
__init__.py Remove hassio from ALLOWED_USED_COMPONENTS and move some functions to helper (#127228) 2024-10-30 12:43:41 +01:00
const.py Add handler to restore a backup file with the backup integration (#128365) 2024-11-01 16:25:22 +01:00
http.py Add BaseBackupManager as a common interface for backup managers (#126611) 2024-10-15 12:31:12 +02:00
icons.json Update icons.json to new service schema part 1 (#124768) 2024-08-28 13:47:02 +02:00
manager.py Add handler to restore a backup file with the backup integration (#128365) 2024-11-01 16:25:22 +01:00
manifest.json Remove built-in support for import_executor in manifest (#112725) 2024-03-08 12:02:32 -05:00
services.yaml Migrate backup services to support translations (#96308) 2023-07-11 22:00:00 +02:00
strings.json Migrate backup services to support translations (#96308) 2023-07-11 22:00:00 +02:00
websocket.py Add handler to restore a backup file with the backup integration (#128365) 2024-11-01 16:25:22 +01:00