Pmsg0(000, _("Volume label not copied.\n"));
return true;
case SOS_LABEL:
- jobs++;
+ if (bsr && rec->match_stat < 1) {
+ /* Skipping record, because does not match BSR filter */
+ if (verbose) {
+ Pmsg0(-1, _("Copy skipped. Record does not match BSR filter.\n"));
+ }
+ } else {
+ jobs++;
+ }
break;
case EOS_LABEL:
+ if (bsr && rec->match_stat < 1) {
+ /* Skipping record, because does not match BSR filter */
+ return true;
+ }
while (!write_record_to_block(out_block, rec)) {
Dmsg2(150, "!write_record_to_block data_len=%d rem=%d\n", rec->data_len,
rec->remainder);
}
/* Write record */
+ if (bsr && rec->match_stat < 1) {
+ /* Skipping record, because does not match BSR filter */
+ return true;
+ }
records++;
while (!write_record_to_block(out_block, rec)) {
Dmsg2(150, "!write_record_to_block data_len=%d rem=%d\n", rec->data_len,
General:
23Jul08
+kes Apply patch submitted for bug #1107 with a small modification.
+ This fixes a bug where bcopy copied too many records.
kes Make some tweaks to bsmtp based on patch submitted in bug #1124.
This fixes bug #1124.
kes Make the default bat restore Pool be Any. This fixes bug #1118.