]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix #4598 Display JobIds used in the restore job log
authorEric Bollengier <eric@baculasystems.com>
Thu, 31 Jan 2019 10:37:40 +0000 (11:37 +0100)
committerKern Sibbald <kern@sibbald.com>
Mon, 8 Apr 2019 16:34:14 +0000 (18:34 +0200)
bacula/src/dird/restore.c

index 7bc93253ba8292fdfc61847b5a4ebbf6788eeab8..a09daa432b41c4bf62901eaf134e6b38d8c77eba 100644 (file)
@@ -565,6 +565,10 @@ bool do_restore(JCR *jcr)
    /* Print Job Start message */
    Jmsg(jcr, M_INFO, 0, _("Start Restore Job %s\n"), jcr->Job);
 
+   if (jcr->JobIds) {
+      Jmsg(jcr, M_INFO, 0, _("Restoring files from JobId(s) %s\n"), jcr->JobIds);
+   }
+
    if (jcr->client) {
       jcr->sd_calls_client = jcr->client->sd_calls_client;
    }