]> git.proxmox.com Git - pve-guest-common.git/blobdiff - PVE/VZDump/Common.pm
Add prune-backups option to vzdump parameters
[pve-guest-common.git] / PVE / VZDump / Common.pm
index 909e3afc1dff9fa6723adc5b25bfa3abd333a08b..2f3c16e5a743e822b1513ed26905690c1290d670 100644 (file)
@@ -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.",