may not be obvious from the task log alone if we're relying on the
retention setting configured on a storage or the ones from local
node's vzdump.conf
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debugmsg ('info', "archive file size: $cs", $logfd);
}
- # purge older backup
if ($opts->{remove}) {
+ my $keepstr = join(', ', map { "$_=$prune_options->{$_}" } sort keys %$prune_options);
+ debugmsg ('info', "prune older backups with retention: $keepstr", $logfd);
if (!defined($opts->{storage})) {
my $bklist = get_backup_file_list($opts->{dumpdir}, $bkname, $task->{target});
PVE::Storage::prune_mark_backup_group($bklist, $prune_options);