Re: [Bacula-users] Retention Policy Pruning Files?
2010-04-07 16:16:33
If that is the case, then I will need to create a few other client definitions
for the same host because I do Archive/Full/Incremental backups on this same
host. Obviously, the Archive I want kept around forever, the incremental only
need to be kept for a month, and I need Quarterly backups kept forever.
Consequently, I read another post made along the same lines:
http://www.mail-archive.com/bacula-users AT lists.sourceforge DOT
net/msg35636.html
-- John
-----Original Message-----
From: Martin Simmons [mailto:martin AT lispworks DOT com]
Sent: Wednesday, April 07, 2010 1:56 PM
To: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] Retention Policy Pruning Files?
>>>>> On Wed, 7 Apr 2010 09:43:12 -0600, May, John said:
>
> Whenever I archive files, I always put them in an 'Archive' pool I created
> After only about a week or two, I am no longer able to restore because I
> get the following message:
>
> You have selected the following JobId: 686
>
> Building directory tree for JobId(s) 686 ...
>
> For one or more of the JobIds selected, no files were found,
> so file selection is not possible.
> Most likely your retention policy pruned the files.
>
> Do you want to restore all the files? (yes|no):
>
> Can sombody take a look at my bacula-dir.conf file and see why this is
> happening?
>
> All Archive jobs have different filesets, but go into the pool 'Archive'.
> I've set a retention period of 30 years, job retention of 30 years, Recycle
> = no, Auto Prune = no and Volume retention of 30 years, but the files
> seem to be still getting pruned.
I think the problem is that the client definition contains:
> File Retention = 30 days # 30 days
> AutoPrune = yes # Prune expired Jobs/Files
This causes it to prune the file records of *all* jobs for that client
whenever it prunes *any* job for that client.
Assuming you need that file retention for other jobs on the client, you can
work around the problem by adding a separate client definition for use by the
archive jobs, with the same Address pararmeter as the normal one.
__Martin
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|