From f3d6dae2c764bfc27f4a117233dfc8de78d9bae7 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 15 May 2009 09:57:00 +0000 Subject: [PATCH] kes Apply fix to sql_cmds.c suggested by Ulrich Leodolter which prevents restore by file selection from using Copy jobs. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8830 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/sql_cmds.c | 1 + bacula/technotes | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/bacula/src/cats/sql_cmds.c b/bacula/src/cats/sql_cmds.c index 0fd6b3538d..83fd16e5b9 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -399,6 +399,7 @@ const char *uar_jobid_fileindex = "AND Job.ClientId=Client.ClientId " "AND Path.PathId=File.PathId " "AND Filename.FilenameId=File.FilenameId " + "AND JobStatus IN ('T','W') AND Type='B' " "ORDER BY Job.StartTime DESC LIMIT 1"; const char *uar_jobids_fileindex = diff --git a/bacula/technotes b/bacula/technotes index 0b6821f05e..80762e6dbc 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -3,6 +3,10 @@ General: 14May09 +kes Apply fix to sql_cmds.c suggested by + Ulrich Leodolter + which prevents restore by file selection from using + Copy jobs. kes Add new nagios_plugin_check_bacula.tgz from Masopust, Christian kes Reduce bconsole help to fit in 80 columns -- 2.39.5