Any ideas on this one?

On 18/05/06, Beren <[EMAIL PROTECTED]> wrote:
> Thanks for that, I did actually set it to read only as soon as the
> BSCAN finished
> :
> |      15 | 000160L2   | Read-Only | 447,305,352,405 |      456 |
> 1,036,800 |       1 |    6 |         1 | LT02      | 2006-03-28
> 10:08:28 |
>
> It worked once, then pruned.
>
> Now this happens when I try to restore.
>
> | JobId | Level | JobFiles | JobBytes       | StartTime           |
> VolumeName | StartFile |
> +-------+-------+----------+----------------+---------------------+------------+-----------+
> |   961 | F     |  769,368 | 59,691,680,796 | 2006-03-27 21:12:11 |
> 000160L2   |         0 |
> +-------+-------+----------+----------------+---------------------+------------+-----------+
> You have selected the following JobId: 961
>
> Building directory tree for JobId 961 ...
> 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):
>
> DOH!
>
>
> On 18/05/06, Frank Sweetser <[EMAIL PROTECTED]> wrote:
> > On Thu, May 18, 2006 at 05:50:42PM +0100, Beren wrote:
> > > One thing I think is REALLY annoying is, after spending 7 hours
> > > merging data in to the database from an old tape using BSCAN, is
> > > having bacula prune it right back out of the database after doing one
> > > restore from it because it's outside of the retention period.
> > >
> > > What is the best procedure for doing this in future?
> >
> >  From 
> > http://www.bacula.org/rel-manual/Volume_Utility_Tools.html#SECTION000367000000000000000
> >
> > After bscan
> >
> > If you use bscan to enter the contents of the Volume into an existing 
> > catalog,
> > you should be aware that the records you entered may be immediately pruned
> > during the next job, particularly if the Volume is very old or had been
> > previously purged. To avoid this, after running bscan, you can manually set 
> > the
> > volume status (VolStatus) to Read-Only by using the update command in the
> > catalog. This will allow you to restore from the volume without having it
> > immediately purged. When you have restored and backed up the data, you can
> > reset the VolStatus to Used and the Volume will be purged from the catalog.
> >
> > --
> > Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
> > WPI Network Engineer          |  is simple, elegant, and wrong. - HL Mencken
> >     GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC
> >
>


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to