58421ec112
Includes methods to start, stop and list QEMU file-restore VMs, as well as CLI commands do the latter two (start is implicit). The implementation is abstracted behind the concept of a "BlockRestoreDriver", so other methods can be implemented later (e.g. mapping directly to loop devices on the host, using other hypervisors then QEMU, etc...). Starting VMs is currently unused but will be needed for further changes. The design for the QEMU driver uses a locked 'map' file (/run/proxmox-backup/$UID/restore-vm-map.json) containing a JSON encoding of currently running VMs. VMs are addressed by a 'name', which is a systemd-unit encoded combination of repository and snapshot string, thus uniquely identifying it. Note that currently you need to run proxmox-file-restore as root to use this method of restoring. Signed-off-by: Stefan Reiter <s.reiter@proxmox.com> |
||
---|---|---|
.. | ||
proxmox_backup_client | ||
proxmox_backup_manager | ||
proxmox_client_tools | ||
proxmox_file_restore | ||
proxmox_restore_daemon | ||
proxmox_tape | ||
docgen.rs | ||
dump-catalog-shell-cli.rs | ||
pmt.rs | ||
pmtx.rs | ||
proxmox-backup-api.rs | ||
proxmox-backup-banner.rs | ||
proxmox-backup-client.rs | ||
proxmox-backup-manager.rs | ||
proxmox-backup-proxy.rs | ||
proxmox-daily-update.rs | ||
proxmox-file-restore.rs | ||
proxmox-restore-daemon.rs | ||
proxmox-tape.rs | ||
pxar.rs | ||
sg-tape-cmd.rs |