Bacula-users

Re: [Bacula-users] Restoring data after retention policy pruned volumes

2012-03-26 05:55:08
Subject: Re: [Bacula-users] Restoring data after retention policy pruned volumes
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 26 Mar 2012 10:52:50 +0100
>>>>> On Fri, 23 Mar 2012 14:46:56 -0500, Romer Ventura said:
> 
> -----Original Message-----
> From: Martin Simmons [mailto:martin AT lispworks DOT com] 
> Sent: Friday, March 23, 2012 2:38 PM
> To: bacula-users AT lists.sourceforge DOT 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:jcasale AT activenetwerx DOT com]
> > Sent: Friday, March 23, 2012 11:42 AM
> > To: bacula-users AT lists.sourceforge DOT 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

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