mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 08:56:07 +00:00
The VM's disks are copied from the backup as new volumes beside the old ones, which stay until removed by hand. Then the switch, recorded first and finished by recovery: the NVRAM file and the TPM state are replaced by the backup's, and the VM's own definition points at the copies with a new generation ID. Its devices, MACs and UUID stay. A VM that is not shut off, has snapshots or a saved state, or whose disks, UEFI firmware or TPM are not the backup's, is refused; the checks run again before the switch. |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| backup.py | ||
| connection.py | ||
| create.py | ||
| hostdetails.py | ||
| instance.py | ||
| interface.py | ||
| libvirt-ssh | ||
| network.py | ||
| nodedevs.py | ||
| nwfilters.py | ||
| storage.py | ||
| util.py | ||
| virtsecrets.py | ||