mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-05 10:36:53 +00:00
vdzump: log with what retention settings we prune
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>
This commit is contained in:
parent
f2e174dacc
commit
ca155141b0
@ -995,8 +995,9 @@ sub exec_backup_task {
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user