From 1b44d34999a413eee964490a13e10fab8a66bf49 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 26 Jan 2012 14:10:51 +0100 Subject: [PATCH] Allow BVFS to browse and restore Base jobs --- bacula/src/dird/ua_dotcmds.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bacula/src/dird/ua_dotcmds.c b/bacula/src/dird/ua_dotcmds.c index 0669288b2c..a2e07385b5 100644 --- a/bacula/src/dird/ua_dotcmds.c +++ b/bacula/src/dird/ua_dotcmds.c @@ -545,6 +545,12 @@ static bool dot_bvfs_get_jobids(UAContext *ua, const char *cmd) return true; } + /* When in level base, we don't rely on any Full/Incr/Diff */ + if (jr.JobLevel == L_BASE) { + ua->send_msg("%s\n", edit_int64(jr.JobId, ed1)); + return true; + } + /* If we have the "all" option, we do a search on all defined fileset * for this client */ -- 2.39.5