public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Proxmox Backup Server development discussion
	<pbs-devel@lists.proxmox.com>,
	Stefan Reiter <s.reiter@proxmox.com>
Subject: [pbs-devel] applied-series: [PATCH proxmox-backup 1/4] file-restore: add size to image files and components
Date: Tue, 27 Apr 2021 08:35:06 +0200	[thread overview]
Message-ID: <df379252-49ff-966e-bda6-035f96734d1b@proxmox.com> (raw)
In-Reply-To: <20210426130417.20979-1-s.reiter@proxmox.com>

On 26.04.21 15:04, Stefan Reiter wrote:
> Read image sizes (.pxar.fidx/.img.didx) from manifest and partition
> sizes from /sys/...
> 
> Requires a change to ArchiveEntry, as DirEntryAttribute::Directory
> does not have a size associated with it (and that's probably good).
> 
> Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
> ---
>  src/api2/types/mod.rs                  | 19 ++++++++++++++-----
>  src/bin/proxmox-file-restore.rs        |  2 +-
>  src/bin/proxmox_restore_daemon/api.rs  |  5 +++--
>  src/bin/proxmox_restore_daemon/disk.rs | 23 +++++++++++++++++++----
>  4 files changed, 37 insertions(+), 12 deletions(-)
> 
>

applied all four patches, thanks!




      parent reply	other threads:[~2021-04-27  6:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26 13:04 [pbs-devel] " Stefan Reiter
2021-04-26 13:04 ` [pbs-devel] [PATCH proxmox-backup 2/4] file-restore: exit with code 1 in case streaming fails Stefan Reiter
2021-04-26 13:04 ` [pbs-devel] [PATCH proxmox-backup 3/4] file-restore: use less memory for VM and reboot on panic Stefan Reiter
2021-04-26 13:04 ` [pbs-devel] [PATCH proxmox-backup-restore-image 4/4] add workaround kernel patch for vsock panics Stefan Reiter
2021-04-27  6:35 ` Thomas Lamprecht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=df379252-49ff-966e-bda6-035f96734d1b@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    --cc=s.reiter@proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal