exit(1);
}
+# XXX ASA Search extension
+my $view_opts;
+
+my %Conf = $bpc->Conf;
+if ( $Conf{TarCreateIncremental} || $opts{i} ) {
+ warn "# incremental dump";
+ $view_opts = { only_increment => 1 };
+}
+
our $ShareName = $opts{s};
-our $view = BackupPC::View->new($bpc, $Host, \@Backups, $opts{i} ? { only_first => 1 } : {});
+our $view = BackupPC::View->new($bpc, $Host, \@Backups, $view_opts);
#
# This constant and the line of code below that uses it are borrowed