From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id A24FD1FF2C6 for ; Wed, 10 Jul 2024 16:14:34 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 20ED8B739; Wed, 10 Jul 2024 16:14:56 +0200 (CEST) Date: Wed, 10 Jul 2024 16:14:15 +0200 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox VE development discussion References: <20240626081311.45882-1-c.ebner@proxmox.com> In-Reply-To: <20240626081311.45882-1-c.ebner@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1720620621.4lr3r60lqb.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL -0.350 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_ASCII_DIVIDERS 0.8 Email that uses ascii formatting dividers and possible spam tricks KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment 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: [pve-devel] [PATCH pve-docs] vzdump: add section describing PBS change detection mode X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" On June 26, 2024 10:13 am, Christian Ebner wrote: > Add a concise section about what PBS change detection mode is and > what it affects, including a table with a description of the modes. > > Signed-off-by: Christian Ebner > --- > vzdump.adoc | 24 ++++++++++++++++++++++++ > 1 file changed, 24 insertions(+) > > diff --git a/vzdump.adoc b/vzdump.adoc > index 79d4bbc..958ee12 100644 > --- a/vzdump.adoc > +++ b/vzdump.adoc > @@ -171,6 +171,30 @@ fleecing image up-front. On a thinly provisioned storage, the fleecing image can > grow to the same size as the original image only if the guest re-writes a whole > disk while the backup is busy with another disk. > > +CT Change Detection Mode > +~~~~~~~~~~~~~~~~~~~~~~~~ > + > +Setting the change detection mode defines the encoding format for the pxar > +archives and how changed and unchanged files are handled for container backups > +with Proxmox Backup Server as target. > + > +Backups of VMs or to other storage backends are not affected by this setting. > + > +There are 3 change detection modes available: > + > +[width="100%",cols=" +|=============================================================================== > +| Mode | Description > +| Default | The legacy mode, read and encode all files in a self contained > +pxar archive with format version 1 being uploaded to the Proxmox Backup Server. I'd shorten this: Read and encode all files into a single archive, using the pxar format version 1. > +| Data | (EXPERIMENTAL): Read and encode all files, but split data and > +metadata into separate streams, using the pxar format version 2. > +| Metadata | (EXPERIMENTAL): Use the metadata archive of the previous backup > +run to detect unchanged files and reuse the files data already backed up in the > +previous backup for the current backup run when possible. Data and metadata are > +encoded into separate streams, using the pxar format version 2. Split streams and archive format version 2 like `Data`, but use metadata archive of previous snapshot (if one exists) to detect unchanged files, and reuse their data chunks without reading file contents from disk, whenever possible. This is easier to parse (I hope) and both explains the difference to `Data`, and the reason why you'd want to use it ;) > +|=============================================================================== > + > Backup File Names > ----------------- > > -- > 2.39.2 > > > > _______________________________________________ > pve-devel mailing list > pve-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel > > > _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel