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

Christian Ebner c.ebner at proxmox.com
Wed May 29 13:44:11 CEST 2024


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

Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
 src/PVE/VZDump/Common.pm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/PVE/VZDump/Common.pm b/src/PVE/VZDump/Common.pm
index 1539444..76e5f8a 100644
--- a/src/PVE/VZDump/Common.pm
+++ b/src/PVE/VZDump/Common.pm
@@ -354,6 +354,14 @@ 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,
+	default => 'default',
+	enum => [ 'default', 'data', 'metadata' ],
+    },
 };
 
 sub get_confdesc {
-- 
2.39.2





More information about the pve-devel mailing list