]> git.proxmox.com Git - pve-manager.git/commitdiff
change error message related to maxbackups
authorOguz Bektas <o.bektas@proxmox.com>
Tue, 11 Jun 2019 15:55:11 +0000 (17:55 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 11 Jun 2019 16:25:10 +0000 (18:25 +0200)
make the message a bit more informative (with help from thomas), namely
mentioning the ability to change/increase the limit.

Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
PVE/VZDump.pm

index 7099fd9855fceeaa878c33da0ae5cb261f239d6c..c3fbd0e31333104c3998d890c2b11ddda0554e4d 100644 (file)
@@ -777,7 +777,9 @@ sub exec_backup_task {
 
        if ($maxfiles && !$opts->{remove}) {
            my $bklist = get_backup_file_list($opts->{dumpdir}, $bkname);
-           die "only $maxfiles backup(s) allowed - please consider to remove old backup files.\n" 
+           die "There is a max backup limit of ($maxfiles) enforced by the".
+           " target storage or the vzdump parameters.".
+           " Either increase the limit or delete old backup(s).\n"
                if scalar(@$bklist) >= $maxfiles;
        }