On Mon, Feb 20, 2012 at 4:40 AM, Uwe Schuerkamp
<uwe.schuerkamp AT nionex DOT net> wrote:
> Hi folks,
>
> bacula seems to have forgotten the job details for a job I was going
> to test a restore on today. According to the bacula email, the backup
> finished ok:
>
> Build OS: x86_64-unknown-linux-gnu redhat
> JobId: 2155
>
> <snip snip>
>
> Volume name(s):
> Offline38|Offline39|Offline40|Offline23_01|Offline16_02|Offline27_02|Offline28_02
> Volume Session Id: 37
> Volume Session Time: 1326930050
> Last Volume Bytes: 290,593,981,440 (290.5 GB)
> Non-fatal FD errors: 0
> SD Errors: 0
> FD termination status: OK
> SD termination status: OK
> Termination: Backup OK
>
> However, when I try to list the jobs stored on each of those volumes I
> simply receive the message:
>
> Choose a query (1-16): 14
> Enter Volume name: Offline23_01
> No results to list.
>
> The "Last Written" column looks ok, the volume hasn't been written
> since the date of the previous backup:
>
> Offline23_01 796.44 GB DDS-4 2013/02/06 2012/02/07
> Full
>
> Also:
>
> Enter a period to cancel a command.
> *restore
> Select item: (1-12): 3
> Enter JobId(s), comma separated, to restore: 2155
> Unable to get Job record for JobId=2155: ERR=sql_get.c:294 No Job
> found for JobId 2155
>
> Is there a chance to restore the job details without resorting to
> bscan? I wonder why the job details were pruned in the first place...
>
> Bacula version is rather old (2.4.x), still I think it should be able
> to restore files from a backup that apparently ran ok...
>
> All the best & thanks in advance,
>
Has you job retention period expired?
Either way you can get this back using the bacula volume utilities.
http://www.bacula.org/5.2.x-manuals/en/utility/utility/Volume_Utility_Tools.html#SECTION00272000000000000000
Make sure you have a longer retention period before you run this
otherwise bacula can expire the records just after it is done with the
recovery..
John
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|