[pve-devel] [PATCH v4 guest-common 4/7] Add prune-backups option to vzdump parameters

Fabian Ebner f.ebner at proxmox.com
Thu Jul 9 14:45:44 CEST 2020


Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---

New in v4

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

diff --git a/PVE/VZDump/Common.pm b/PVE/VZDump/Common.pm
index 909e3af..2f3c16e 100644
--- a/PVE/VZDump/Common.pm
+++ b/PVE/VZDump/Common.pm
@@ -210,6 +210,10 @@ my $confdesc = {
 	minimum => 1,
 	default => 1,
     },
+    'prune-backups' => get_standard_option('prune-backups', {
+	description => "Use these retention options instead of those from the storage configuration.",
+	optional => 1,
+    }),
     remove => {
 	type => 'boolean',
 	description => "Remove old backup files if there are more than 'maxfiles' backup files.",
-- 
2.20.1






More information about the pve-devel mailing list