jcr->RestoreBootstrap, strerror(errno));
goto bail_out;
}
+ Dmsg0(10, "=== Bootstrap file ===\n");
while (bnet_recv(sock) >= 0) {
- Dmsg1(400, "stored<filed: bootstrap file %s", sock->msg);
+ Dmsg1(10, "%s", sock->msg);
fputs(sock->msg, bs);
}
fclose(bs);
+ Dmsg0(10, "=== end bootstrap file ===\n");
jcr->bsr = parse_bsr(jcr, jcr->RestoreBootstrap);
if (!jcr->bsr) {
Jmsg(jcr, M_FATAL, 0, _("Error parsing bootstrap file.\n"));
SESSION_LABEL *sessrec, bool done)
{
if (bsr->done) {
- Dmsg0(dbglevel, "bsr->done set\n");
+// Dmsg0(dbglevel, "bsr->done set\n");
goto no_match;
}
if (!match_volume(bsr, bsr->volume, volrec, 1)) {
}
-
-
-
void dump_bsr(BSR *bsr, bool recurse)
{
int save_debug = debug_level;
* when find_next_bsr() is fixed not to return a bsr already
* completed.
*/
+#ifdef xxx
if (dev->file > bsr->volfile->sfile ||
(dev->file == bsr->volfile->sfile && dev->block_num > bsr->volblock->sblock)) {
return false;
}
+#endif
if (verbose) {
Jmsg(jcr, M_INFO, 0, _("Reposition from (file:block) %u:%u to %u:%u\n"),
dev->file, dev->block_num, bsr->volfile->sfile,
bsr->volblock->sblock);
}
- Dmsg4(dbglvl, "Try_Reposition from (file:block) %u:%u to %u:%u\n",
+ Dmsg4(10, "Try_Reposition from (file:block) %u:%u to %u:%u\n",
dev->file, dev->block_num, bsr->volfile->sfile,
bsr->volblock->sblock);
dev->reposition(dcr, bsr->volfile->sfile, bsr->volblock->sblock);