Bacula-users

Re: [Bacula-users] bacula prunes files too early

2009-02-04 03:40:27
Subject: Re: [Bacula-users] bacula prunes files too early
From: Jérôme Schell <jsh AT cpe DOT fr>
To: 'bacula-users' <Bacula-users AT lists.sourceforge DOT net>
Date: Wed, 04 Feb 2009 09:36:12 +0100
Vladimir Vassiliev a écrit :
> All retention periods in my config are more than 30 days. But at Feb, 3 I 
> tried to restore some files from job dated by Feb, 2
> I select necessary job but get:
> 
>       Building directory tree for JobId 1695 ...
>       There were no files inserted into the tree, so file selection
>       is not possible.Most likely your retention policy pruned the files
> 
>       Do you want to restore all the files? (yes|no):
> 
> Additionally, when I choose "no", bacula selects all files.
> How can I troubleshoot this case?
> Part of config in attachment and log of this job too.

Hello,

In fact I don't have the solution for your problem as I am looking for
it too ;)
As far as I can see, your job has a lot of files (> 1 million). I have
the same problem for a job with 1.3 million files. It seems that bacula
doesn't write the file entries in the catalog (in the "files" table) for
big jobs like that.
The result is that you can't select individual files when restoring, you
can just restore the whole job. Incremental job for this fileset is
working ok and the files are present in catalog. That's why I think this
is related with jobs with a lot of files.

I'm using Bacula 2.4.4 on Debian Etch (from backport.org) with
PostgreSQL as backend for the catalog.

If someone has information on this problem...

Regards,
-- 
Jérôme Schell
CPE Lyon

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users