[pve-devel] [PATCH manager] change error message related to maxbackups

Oguz Bektas o.bektas at proxmox.com
Tue Jun 11 17:18:14 CEST 2019


make the message to be a little more informative, namely mentioning the
ability to change this option.

Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
---
 PVE/VZDump.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index 0a35eea7..0f8572fc 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -780,7 +780,8 @@ 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 set for this drive.".
+	    " Please consider changing the limit or deleting old backup(s).\n"
 		if scalar(@$bklist) >= $maxfiles;
 	}
 
-- 
2.20.1




More information about the pve-devel mailing list