From: Eric Bollengier Date: Thu, 26 Jan 2012 13:10:51 +0000 (+0100) Subject: Allow BVFS to browse and restore Base jobs X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ae8750d731ede08dd97bd852c50c65727660ec55;p=bacula%2Fbacula Allow BVFS to browse and restore Base jobs --- 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 */