mirror of https://github.com/digint/btrbk
btrbk: action "clean": dont list failed deletes in summary
parent
b8a8bc917d
commit
6c2d56d621
|
@ -8,6 +8,7 @@ btrbk-current
|
||||||
* Bugfix: ssh_filter_btrbk: accept mbuffer command (stream_buffer).
|
* Bugfix: ssh_filter_btrbk: accept mbuffer command (stream_buffer).
|
||||||
* Bugfix: print correct (end-)time in transaction_log.
|
* Bugfix: print correct (end-)time in transaction_log.
|
||||||
* Bugfix: check path when expanding wildcards (close #181).
|
* Bugfix: check path when expanding wildcards (close #181).
|
||||||
|
* Bugfix: never show failed deletes in summary (close #183).
|
||||||
|
|
||||||
btrbk-0.25.1
|
btrbk-0.25.1
|
||||||
|
|
||||||
|
|
2
btrbk
2
btrbk
|
@ -4979,7 +4979,6 @@ MAIN:
|
||||||
if($target_vol->{node}{received_uuid} eq '-') {
|
if($target_vol->{node}{received_uuid} eq '-') {
|
||||||
DEBUG "Found incomplete target subvolume: $target_vol->{PRINT}";
|
DEBUG "Found incomplete target subvolume: $target_vol->{PRINT}";
|
||||||
push(@delete, $target_vol);
|
push(@delete, $target_vol);
|
||||||
push @out, "--- $target_vol->{PRINT}";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
my $ret;
|
my $ret;
|
||||||
|
@ -5002,6 +5001,7 @@ MAIN:
|
||||||
INFO "Deleted $ret incomplete backups in: $droot->{PRINT}/$snapshot_name.*";
|
INFO "Deleted $ret incomplete backups in: $droot->{PRINT}/$snapshot_name.*";
|
||||||
$droot->{SUBVOL_DELETED} //= [];
|
$droot->{SUBVOL_DELETED} //= [];
|
||||||
push @{$droot->{SUBVOL_DELETED}}, @delete;
|
push @{$droot->{SUBVOL_DELETED}}, @delete;
|
||||||
|
push @out, map("--- $_->{PRINT}", @delete);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ABORTED($droot, "Failed to delete incomplete target subvolume");
|
ABORTED($droot, "Failed to delete incomplete target subvolume");
|
||||||
|
|
Loading…
Reference in New Issue