-----Original Message----- From: Martin Simmons [mailto:mar...@lispworks.com] Sent: Monday, March 26, 2012 4:53 AM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Restoring data after retention policy pruned volumes
>>>>> On Fri, 23 Mar 2012 14:46:56 -0500, Romer Ventura said: > > -----Original Message----- > From: Martin Simmons [mailto:mar...@lispworks.com] > Sent: Friday, March 23, 2012 2:38 PM > To: bacula-users@lists.sourceforge.net > Subject: Re: [Bacula-users] Restoring data after retention policy > pruned volumes > >>>>> On Fri, 23 Mar 2012 14:12:24 -0500, Romer Ventura said: > > > > -----Original Message----- > > From: Joseph L. Casale [mailto:jcas...@activenetwerx.com] > > Sent: Friday, March 23, 2012 11:42 AM > > To: bacula-users@lists.sourceforge.net > > Subject: Re: [Bacula-users] Restoring data after retention policy > > pruned volumes > > > > > I need to restore some older files, the problem is that the > > > retention > > policy has already pruned the files. > > /snip > > > How can I restore my files..? > > > > See the second paragraph in the bscan manual. > > jlc > > > > -------------------------------------------------------------------- > > -- > > ------ > > -- > > > > I had edited the config and set Autoprune = no, however, I failed to > > notice the Volume Retention parameter, I just uncommented it and > > gonna redo the scan and try it again. > > > > Thanks. > > -------------------------------------------------------------------- > > -- > > ------ > > -- > > > > Well still didn't work. I did another bscan, this time I made sure > > that the Job, storage, pools in the dir.conf had Autoprune = no and > > no retention value, after bscan completed its task, I went to the > > console and tried to do a restore; however, it keeps saying that > > there are no > files found. > > > > Any ideas? Config is below. > > Which version of Bacula? There was a bug in some old versions that > would cause this. > > __Martin > > ---------------------------------------------------------------------- > ------ > -- > > > The version I am using is: > Version: 5.0.3 > > Would this be the one affected by it? Yes, I think it is broken in 5.0.3. Check Job.PurgedFiles in the catalog for the bscanned jobs. If it is 1 then set it to 0 and restore should work. __Martin ---------------------------------------------------------------------------- -- Thanks. After updating the PurgedFiles from 1 to 0, I was able to do the restore as normal. Thanks again. ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users