From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <w.bumiller@proxmox.com> 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 BAB3B63950 for <pve-user@lists.proxmox.com>; Thu, 16 Jul 2020 12:17:28 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id B253D12BC3 for <pve-user@lists.proxmox.com>; Thu, 16 Jul 2020 12:17:28 +0200 (CEST) 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) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 0EA6B12BB9 for <pve-user@lists.proxmox.com>; Thu, 16 Jul 2020 12:17:28 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id CC482430C8; Thu, 16 Jul 2020 12:17:27 +0200 (CEST) Date: Thu, 16 Jul 2020 12:17:27 +0200 From: Wolfgang Bumiller <w.bumiller@proxmox.com> To: Proxmox VE user list <pve-user@lists.proxmox.com> Message-ID: <20200716101727.n3fueyopc3cvxgtt@olga.proxmox.com> References: <c84ac772-d577-27fd-710c-293d8a4baffe@proxmox.com> <c51e8cf4-1c6d-051b-f91d-5d600a566c5a@proxmox.com> <c522fc9b-6b3f-7770-d32a-c1bb47961884@merit.unu.edu> <1514606299.525.1594478405167@webmail.proxmox.com> <16057806.272035.1594737045788.JavaMail.zimbra@odiso.com> <0852a3fa-ab39-d551-5a01-0264687d4b56@proxmox.com> <1788232040.275836.1594761436288.JavaMail.zimbra@odiso.com> <b06df320-fb8b-7627-6d49-96ff59be7aa0@proxmox.com> <mailman.204.1594849027.12071.pve-user@lists.proxmox.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <mailman.204.1594849027.12071.pve-user@lists.proxmox.com> User-Agent: NeoMutt/20180716 X-SPAM-LEVEL: Spam detection results: 0 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment 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 Subject: Re: [PVE-User] Proxmox Backup Server (beta) X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list <pve-user.lists.proxmox.com> List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe> List-Archive: <http://lists.proxmox.com/pipermail/pve-user/> List-Post: <mailto:pve-user@lists.proxmox.com> List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help> List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, <mailto:pve-user-request@lists.proxmox.com?subject=subscribe> X-List-Received-Date: Thu, 16 Jul 2020 10:17:28 -0000 On Wed, Jul 15, 2020 at 05:36:56PM -0400, Daniel Bayerdorffer via pve-user wrote: > Date: Wed, 15 Jul 2020 17:36:56 -0400 (EDT) > From: Daniel Bayerdorffer <danielb@numberall.com> > To: Proxmox VE user list <pve-user@lists.proxmox.com> > Subject: Re: [PVE-User] Proxmox Backup Server (beta) > X-Mailer: Zimbra 8.8.15_GA_3955 (ZimbraWebClient - FF78 > (Win)/8.8.15_GA_3953) > > >> > >> Is it possible to read files inside a vm backup, without restoring it first ? > >> (Don't have check vma format recently, but I think it was not possible because of out of orders blocks) > > > >There's support for block and file level backup, CTs are using a file level > >backup, you can then even browse the backup on the server (if it's not encrypted) > > > >As said, there's a block backend driver for it in QEMU, Stefan made it with > >Dietmar's libproxmox-backup-qemu0 library. So you should be able to get a backup > >as block device over NBD and mount it, I guess. (did not tried that yet fully > >myself). > > > I'm still wrapping my head around some of the concepts here. So sorry for the simple questions. > > The above is not quite clear. Can we do file by file restore from the backups and/or archives? > If so, will that work on a Windows VM backup? I.E. Can I restore a file in a Windows VM? You have a) file-based backups - containers on PVE - 'host'-type backups (which are really just "arbitrary file backups") (by running $ proxmox-backup-client backup content.pxar:/directory/to/backup \ --backup-type host \ --backup-id my-important-data \ --repository user@pbs@host:datastore ) - 'host' backups made manually from *within* a running VM (contrary to popular belief, guest machines can make their own backups, too :-P) This stores a file archive on the server which can be extracted directly, mounted via fuse, or, on the GUI you can open the file browser in your web browser and download individual files. b) block-based backups - VMs on PVE This stores whole disks, and we include a way to "attach" a disk from a backup to a VM (may even be hotplugged). Just imagine this like using a .raw disk image from any other remote storage such as NFS. If your guest operating system can read it, you can do whatever from inside the guest. There's no *direct* support for extracting files from a block device. There *may* at some point be some way to do this, but we cannot make any promises there, and it may well just be some predefined VM template auto-logging into an xfce or gnome session with a file browser open ready to mount any attached disk ;-)