Bacula-users

Re: [Bacula-users] Restore issues

2010-07-20 15:09:37
Subject: Re: [Bacula-users] Restore issues
From: Dan Langille <dan AT langille DOT org>
To: Troy Kocher <tkocher AT mtadistributors DOT com>
Date: Tue, 20 Jul 2010 15:07:03 -0400
On 7/20/2010 10:39 AM, Troy Kocher wrote:
>>
>>
>> Listers,
>>
>> Hope someone can provide some help.
>>
>> I have installed Bacula-Server 5.0.0_1&  Bacula-Client 5.0.0 from FreeBSD 
>> 7.3RELEASE's ports collection on my backup server named (fatso) fatso-dir, 
>> fatso-sd, and fatso-fd.  I have another FreeBSD7.2RELEASE box named 
>> (database) running postgresql-server-8.4.4_2, with several databases, along 
>> with bacula.  I use NO tape, but rather back everything up to disk on 
>> fatso-sd.  I have several clients, FreeBSD&  Windows.>80% of them preform 
>> nightly backups without any problem, with only a few file errors on the 
>> window boxes.  Therefore I believe my configuration good, although in need 
>> of a little tuning.
>>
>> My issue is restoring.  Today I noticed one of my email users was missing 
>> data.  So I tried to dig it out of Bacula.
>>
>> I identified the job I wanted to look in:
>> -rw-r-----  1 bacula  wheel    6462085756 Jul 13 02:21 MailF-0087
>> -rw-r-----  1 bacula  wheel    1716756031 Jul 19 02:15 MailF-0091
>>
>> But when I tried to query it. .
>> *restore
>> Automatically selected Catalog: MyCatalog
>> Using Catalog "MyCatalog"
>>
>> First you select one or more JobIds that contain files
>> to be restored. ..
>>
>> To select the JobIds, you have the following choices:
>>      1: List last 20 Jobs run
>>      2: List Jobs where a given File is saved
>>      3: Enter list of comma separated JobIds to select
>> ..
>> Select item:  (1-13): 3
>> Enter JobId(s), comma separated, to restore: 87
>> Unable to get Job record for JobId=87: ERR=sql_get.c:316 No Job found for 
>> JobId 87
>>
>> How do I cause bacula to read these volumes and/or rewrite them into 
>> database?

bscan, I think.

>> It concerns me that even though it appears for the dates on volumes in my 
>> backup directory, that dailys are working properly, but is the catalog on 
>> pgsql getting updated ??
>>
>> Tips would really be appreciated.
-
It sounds like your retention limits differ.  There are three types of 
retention: File, Job, Volume.

I suspect that is your problem.  The Job retention limit appears to have 
expired.

-- 
Dan Langille - http://langille.org/

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>