1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-12-02 08:56:07 +00:00
webvirtcloud/vmbackups/tests
catborise 52b6096efe feat(vmbackups): back up a shut-off VM's TPM state
A VM with the panel's emulated TPM 2.0 is backed up when it is shut off:
each state file of libvirt's swtpm directory for the VM, read through a
transient pool on it, becomes a small file of the backup (role tpm),
written and read back like the NVRAM file. A running or paused VM with a
TPM is refused, and so is a TPM with its own settings (encryption, a
state path, another backend). The manifest says whether the TPM state was
copied or never written.
2026-11-17 13:54:12 +03:00
..
__init__.py feat(vmbackups): the backups app and its records 2026-11-17 07:32:35 +03:00
test_create.py feat(vmbackups): back up a shut-off VM's TPM state 2026-11-17 13:54:12 +03:00
test_delete.py feat(vmbackups): delete a backup; the Backups page 2026-11-17 09:14:07 +03:00
test_import.py feat(vmbackups): read the backups of a target into the panel 2026-11-17 09:14:11 +03:00
test_models.py feat(vmbackups): the backups app and its records 2026-11-17 07:32:35 +03:00
test_policies.py feat(vmbackups): the Schedules pages 2026-11-17 11:38:35 +03:00
test_policy_models.py feat(vmbackups): backup schedules' records; the worker runs the apps' periodic tasks 2026-11-17 10:18:04 +03:00
test_restore.py feat(vmbackups): restore a backup as a new VM 2026-11-17 09:14:09 +03:00
test_schedule.py feat(vmbackups): schedules back VMs up daily, keep the newest, check targets 2026-11-17 11:38:31 +03:00
test_targets.py feat(vmbackups): backup targets: a storage pool per host, checked to be one directory 2026-11-17 07:40:08 +03:00