public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH v2 pve-docs] vzdump: add section describing PBS change detection mode
@ 2024-07-10 14:41 Christian Ebner
  2024-07-11  8:24 ` Aaron Lauterer
  2024-07-11  9:38 ` Christian Ebner
  0 siblings, 2 replies; 4+ messages in thread
From: Christian Ebner @ 2024-07-10 14:41 UTC (permalink / raw)
  To: pve-devel

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 <c.ebner@proxmox.com>
---
 vzdump.adoc | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/vzdump.adoc b/vzdump.adoc
index 9b1cb61..4607e40 100644
--- a/vzdump.adoc
+++ b/vzdump.adoc
@@ -175,6 +175,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="<m,4d",options="header"]
+|===============================================================================
+| Mode     | Description
+| Default  | 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): Split streams and use 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.
+|===============================================================================
+
 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pve-devel] [PATCH v2 pve-docs] vzdump: add section describing PBS change detection mode
  2024-07-10 14:41 [pve-devel] [PATCH v2 pve-docs] vzdump: add section describing PBS change detection mode Christian Ebner
@ 2024-07-11  8:24 ` Aaron Lauterer
  2024-07-11  8:28   ` Christian Ebner
  2024-07-11  9:38 ` Christian Ebner
  1 sibling, 1 reply; 4+ messages in thread
From: Aaron Lauterer @ 2024-07-11  8:24 UTC (permalink / raw)
  To: Proxmox VE development discussion, Christian Ebner

could we have a short paragraph on where to set these options? Similar 
to how it is done in the fleecing section?

a few very nitpicky comments inline:

On  2024-07-10  16:41, 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 <c.ebner@proxmox.com>
> ---
>   vzdump.adoc | 24 ++++++++++++++++++++++++
>   1 file changed, 24 insertions(+)
> 
> diff --git a/vzdump.adoc b/vzdump.adoc
> index 9b1cb61..4607e40 100644
> --- a/vzdump.adoc
> +++ b/vzdump.adoc
> @@ -175,6 +175,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

s/how changed and unchanged/how changed, and unchanged/

comma before the and

> +with Proxmox Backup Server as target.
s/as target/as the 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="<m,4d",options="header"]
> +|===============================================================================
> +| Mode     | Description
> +| Default  | 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): Split streams and use archive format version 2 like
> +`Data`, but use metadata archive of previous snapshot (if one exists) to detect

s/use metadata/use the metadata/
s/of previous/of the previous/

> +unchanged files, and reuse their data chunks without reading file contents from
> +disk, whenever possible.
> +|===============================================================================
> +
>   Backup File Names
>   -----------------
>   


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pve-devel] [PATCH v2 pve-docs] vzdump: add section describing PBS change detection mode
  2024-07-11  8:24 ` Aaron Lauterer
@ 2024-07-11  8:28   ` Christian Ebner
  0 siblings, 0 replies; 4+ messages in thread
From: Christian Ebner @ 2024-07-11  8:28 UTC (permalink / raw)
  To: Aaron Lauterer, Proxmox VE development discussion

On 7/11/24 10:24, Aaron Lauterer wrote:
> could we have a short paragraph on where to set these options? Similar 
> to how it is done in the fleecing section?

Sure, I agree as it is not obvious where to find the configuration 
option. Will send a v3 incorporating the suggestions.

Thanks!


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [pve-devel] [PATCH v2 pve-docs] vzdump: add section describing PBS change detection mode
  2024-07-10 14:41 [pve-devel] [PATCH v2 pve-docs] vzdump: add section describing PBS change detection mode Christian Ebner
  2024-07-11  8:24 ` Aaron Lauterer
@ 2024-07-11  9:38 ` Christian Ebner
  1 sibling, 0 replies; 4+ messages in thread
From: Christian Ebner @ 2024-07-11  9:38 UTC (permalink / raw)
  To: pve-devel

superseded-by version 3:
https://lists.proxmox.com/pipermail/pve-devel/2024-July/064617.html


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-11  9:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-10 14:41 [pve-devel] [PATCH v2 pve-docs] vzdump: add section describing PBS change detection mode Christian Ebner
2024-07-11  8:24 ` Aaron Lauterer
2024-07-11  8:28   ` Christian Ebner
2024-07-11  9:38 ` Christian Ebner

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