mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 01:04:32 +00:00
![]() First, the provider is asked about what restore mechanism to use. Currently, only 'qemu-img' is possible. Then the configuration files are restored, the provider gives information about volumes contained in the backup and finally the volumes are restored via 'qemu-img convert'. The code for the restore_external_archive() function was copied and adapted from the restore_proxmox_backup_archive() function. Together with restore_vma_archive() it seems sensible to extract the common parts and use a dedicated module for restore code. The parse_restore_archive() helper was renamed, because it's not just parsing. While currently, the format for the source can only be raw, do an untrusted check for the source for future-proofing. Still serves as a basic sanity check currently. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> [WB: fix 'bwlimit' typo] Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Tested-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Reviewed-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Link: https://lore.proxmox.com/20250404133204.239783-18-f.ebner@proxmox.com |
||
---|---|---|
debian | ||
PVE | ||
qemu-configs | ||
qmeventd | ||
query-machine-capabilities | ||
test | ||
vm-network-scripts | ||
.gitignore | ||
bootsplash.jpg | ||
bootsplash.xcf | ||
Makefile | ||
modules-load.conf | ||
qm | ||
qmextract | ||
qmrestore |