[pve-devel] [PATCH v4 pve-guest-common 1/4] vzdump: add PBS change detection mode configuration

Christian Ebner c.ebner at proxmox.com
Mon Jun 10 11:57:43 CEST 2024


Define the possible modes to be configured in a PBS file change
detection mode.

Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
changes since version 3:
- dropped default value, use the PBS default

 src/PVE/VZDump/Common.pm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/PVE/VZDump/Common.pm b/src/PVE/VZDump/Common.pm
index 1539444..1996c5b 100644
--- a/src/PVE/VZDump/Common.pm
+++ b/src/PVE/VZDump/Common.pm
@@ -354,6 +354,13 @@ my $confdesc = {
 	requires => 'storage',
 	optional => 1,
     },
+    'pbs-change-detection-mode' => {
+	type => 'string',
+	description => "EXPERIMENTAL: PBS mode used to detect file changes and switch encoding"
+	    . " format for container backups.",
+	optional => 1,
+	enum => [ 'legacy', 'data', 'metadata' ],
+    },
 };
 
 sub get_confdesc {
-- 
2.39.2





More information about the pve-devel mailing list