From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id E5DEB6A725 for ; Tue, 16 Feb 2021 18:11:36 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id D839619A00 for ; Tue, 16 Feb 2021 18:11:06 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 27D73199F3 for ; Tue, 16 Feb 2021 18:11:06 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id E61A14619A for ; Tue, 16 Feb 2021 18:11:05 +0100 (CET) To: pbs-devel@lists.proxmox.com References: <20210216170710.31767-1-s.reiter@proxmox.com> From: Stefan Reiter Message-ID: Date: Tue, 16 Feb 2021 18:11:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210216170710.31767-1-s.reiter@proxmox.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.026 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -0.001 Looks like a legit reply (A) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [proxmox.com] Subject: Re: [pbs-devel] [PATCH 00/22] Single file restore for VM images X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2021 17:11:36 -0000 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 ;) > >