From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <t.lamprecht@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 065D46382C
 for <pve-user@lists.proxmox.com>; Thu, 16 Jul 2020 09:34:20 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id EED6A10104
 for <pve-user@lists.proxmox.com>; Thu, 16 Jul 2020 09:33:49 +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 E3496100F7
 for <pve-user@lists.proxmox.com>; Thu, 16 Jul 2020 09:33:48 +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 AE418430B5;
 Thu, 16 Jul 2020 09:33:48 +0200 (CEST)
To: Daniel Bayerdorffer <danielb@numberall.com>,
 Proxmox VE user list <pve-user@lists.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>
 <176392164.4390.1594849016963.JavaMail.zimbra@numberall.com>
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
Message-ID: <ddf4f57f-5fbc-6eb0-406f-ec7625406152@proxmox.com>
Date: Thu, 16 Jul 2020 09:33:47 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.0
MIME-Version: 1.0
In-Reply-To: <176392164.4390.1594849016963.JavaMail.zimbra@numberall.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.008 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
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 07:34:20 -0000

On 15.07.20 23:36, Daniel Bayerdorffer wrote:
>>>
>>> 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?

The important thing to understand is that the Proxmox Backup Server can do two different
types of backup:
1) File-level backup, used for container and host backups
2) Block-based backup, used for VMs and optional any raw block device backup

You can restore on a file level for file-based directly.
You cannot do so yet for block-level. But, a you can get the block device state
from any backup, and boot a VM with that attached (as readonly) from there you
then have file access - while the basics are here, the easy integration is still
missing.

> If so, will that work on a Windows VM backup? I.E. Can I restore a file in a Windows VM?

No, not yet, but windows file-level based support is also planned.
Then you could backup from inside the VM and have file level restore or do it
from outside and have the restore full backup or use a VM to do file-level
restore.

Hope that helps.

cheers,
Thomas