print $share_header unless $opt->quiet;
status "$hostname $backupNum $share_header";
- my $files = BackupPC::View->new($bpc, $hostname, \@backups, { only_first => 1 });
+ my $files = BackupPC::View->new($bpc, $hostname, \@backups, { only_increment => 1 });
foreach my $share ($files->shareList($backupNum)) {
my %Conf = $bpc->Conf;
if ( $Conf{TarCreateIncremental} || $opts{i} ) {
warn "# incremental dump";
- $view_opts = { only_first => 1 };
+ $view_opts = { only_increment => 1 };
}
our $ShareName = $opts{s};
my $backupTime = timeStamp2($Backups[$i]{startTime});
my $backupAge = sprintf("%.1f", (time - $Backups[$i]{startTime})
/ (24 * 3600));
- my $view = BackupPC::View->new($bpc, $host, \@Backups, {nlink => 1});
+ my $view = BackupPC::View->new($bpc, $host, \@Backups, {nlink => 1, only_increment => $In{only_increment}});
if ( $dir eq "" || $dir eq "." || $dir eq ".." ) {
$attr = $view->dirAttrib($num, "", "");
}
}
- last if $m->{dirOpts}->{only_first}; # XXX ASA Search extension
+ last if $m->{dirOpts}->{only_increment}; # XXX ASA Search extension
}
#
# Prune deleted files