[pbs-devel] [PATCH 00/22] Single file restore for VM images
Stefan Reiter
s.reiter at proxmox.com
Tue Feb 16 18:11:04 CET 2021
On 16/02/2021 18:06, Stefan Reiter wrote:
> Implements CLI-based single file and directory restore for both pxar.didx
> archives (containers, hosts) and img.fidx (VMs, raw block devices). The design
> for VM restore uses a small virtual machine that the host communicates with via
> virtio-vsock.
>
> This is encapsuled into a new package called "proxmox-file-restore", providing a
> binary of the same name. A second package is provided in a new git repository
> called "proxmox-restore-vm-data", providing a minimal kernel image and a base
> initramfs (without the daemon, which is included in proxmox-file-restore).
>
> Requires my previously sent pxar asyncify series:
> https://lists.proxmox.com/pipermail/pbs-devel/2020-December/001788.html
>
Whoops:
https://lists.proxmox.com/pipermail/pbs-devel/2021-February/002113.html
> The first couple patches in the proxmox-backup repo are adapted versions of the
> ones Dominik sent to the list a while ago:
> https://lists.proxmox.com/pipermail/pbs-devel/2020-December/001788.html
>
> Dependency bump in proxmox-backup for pxar is required, though best done
> together with the changes from the aforementioned seperate series.
>
> Tested with ext4 and NTFS VMs, but theoretically includes support for many more
> filesystems (see 'config-base' in the new proxmox-restore-vm-data repository).
>
> Known issues/Missing features:
> * GUI/PVE support
> * PBS_PASSWORD/PBS_FINGERPRINT currently have to be set manually for VM restore
> * ZFS/LVM/md/... support
> * shell auto-complete for "proxmox-file-restore" doesn't work (and I don't know
> why...)
> * some patches might include some sneaky rustfmt/clippy fixes that'd better fit
> to a previous patch, sorry for that, rebasing so many patches is annoying ;)
>
>
More information about the pbs-devel
mailing list