mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 17:06:09 +00:00
A schedule with 'a full backup every N backups' above one makes a checkpoint with each running VM's backup. The next builds on the schedule's newest ready backup: the changed blocks are pushed into qcow2 volumes made with the base's file as backing file, by its name, as the target pool's directory differs per host. The base is used only when its chain is shorter than N, its disks are the VM's, every file of the chain is in the target, and its checkpoint has a sized bitmap for every disk; otherwise the backup is full and starts a chain. Before each scheduled backup of a running VM, the VM's backup checkpoints are pruned to each schedule's newest base. A checkpoint libvirt no longer lists, as after a migration, is redefined first so that its bitmap goes too. A shut-off VM's backup checkpoints are forgotten before its external snapshot: libvirt 11.10 makes no offline external snapshot while a checkpoint exists. The next scheduled backup is then full. |
||
|---|---|---|
| .. | ||
| 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 | ||