>>>>> 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users