]> git.proxmox.com Git - pve-guest-common.git/blobdiff - src/PVE/VZDump/Common.pm
vzdump: defaults: keep all backups by default for 7.0
[pve-guest-common.git] / src / PVE / VZDump / Common.pm
index bc38343550fe916bb9eadd97264cff82a7d658dd..83d74139e4bbb73a29b361ef8a8caacd3d4c8ee4 100644 (file)
@@ -181,14 +181,6 @@ my $confdesc = {
        optional => 1,
        default => 0,
     },
-    # FIXME: Remove with PVE 7.0
-    size => {
-       type => 'integer',
-       description => "Unused, will be removed in a future release.",
-       optional => 1,
-       minimum => 500,
-       default => 1024,
-    },
     bwlimit => {
        type => 'integer',
        description => "Limit I/O bandwidth (KBytes per second).",
@@ -218,21 +210,22 @@ my $confdesc = {
        minimum => 0,
        default => 10, # 10 minutes
     },
+    # FIXME remove with PVE 8.0 or PVE 9.0
     maxfiles => {
        type => 'integer',
-       description => "Maximal number of backup files per guest system.",
+       description => "Deprecated: use 'prune-backups' instead. " .
+           "Maximal number of backup files per guest system.",
        optional => 1,
        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,
+       default => "keep-all=1",
     }),
     remove => {
        type => 'boolean',
-       description => "Remove old backup files if there are more than " .
-           "'maxfiles' backup files or prune according to 'prune-backups'.",
+       description => "Prune older backups according to 'prune-backups'.",
        optional => 1,
        default => 1,
     },