- blocksize recognition code.
- multiple simultaneous Volumes
-For 1.30a release:
+For 1.31 release:
+- Fix Dir heartbeat in restore and verify vol. Be sure to make
+ bnet_recv() ignore BNET_HEARTBEAT.
- Examine Bare Metal restore problem.
- Test multiple simultaneous Volumes
- Document FInclude ...
- Figure out how to use ssh or stunnel to protect Bacula communications.
-After 1.30:
- Fix command prompt in gnome-console by checking on Ready.
- Implement HEART_BEAT while SD waiting for tapes.
- Include RunBeforeJob and RunAfterJob output in the message
}
if (n == 1) { /* input waiting */
bnet_recv(sd); /* read it -- probably heartbeat from sd */
- Dmsg1(000, "Got %d from SD\n", sd->msglen);
+/* Dmsg1(000, "Got %d from SD\n", sd->msglen); */
}
}
bnet_close(sd);
bmicrosleep(0, 20);
}
}
+
+/*
+ * Same as above but we don't listen to the SD
+ */
+void start_dir_heartbeat(JCR *jcr)
+{
+ /* ***FIXME*** implement */
+}
+
+void stop_dir_heartbeat(JCR *jcr)
+{
+ /* ***FIXME*** implement */
+}
if (!open_sd_read_session(jcr)) {
return 0;
}
+ start_dir_heartbeat(jcr);
do_verify_volume(jcr);
+ stop_dir_heartbeat(jcr);
/*
* Send Close session command to Storage daemon
*/
/*
* Do restore of files and data
*/
+ start_dir_heartbeat(jcr);
do_restore(jcr);
-
+ stop_dir_heartbeat(jcr);
+
set_jcr_job_status(jcr, JS_Terminated);
if (jcr->JobStatus != JS_Terminated) {
bnet_suppress_error_messages(sd, 1);
/* From heartbeat.c */
void start_heartbeat_monitor(JCR *jcr);
void stop_heartbeat_monitor(JCR *jcr);
+void start_dir_heartbeat(JCR *jcr);
+void stop_dir_heartbeat(JCR *jcr);