Bacula-users

Re: [Bacula-users] bscan back volumes

2011-07-28 06:30:39
Subject: Re: [Bacula-users] bscan back volumes
From: "Richard Marnau" <marnau AT giovannil-nord DOT de>
To: "'Martin Simmons'" <martin AT lispworks DOT com>, <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 28 Jul 2011 12:27:06 +0200
> >>>>> On Thu, 28 Jul 2011 10:32:26 +0200, Richard Marnau said:
> >
> > > Hi all,
> > >
> > > i’m trying to bscan back a volume, but the results are always the
> > > same: The file index is not restored ☹.
> > > What do I miss or how can I check if there has been any file index
> > > restored?
> > >
> > > SCAN:
> > > ===
> > > bscan -s -m -c bacula-sd.conf -P -v -V Y-mond-fd-2011-05-Vol
> > > /mnt/backupserver
> > >
> > > Results:
> > > ======
> > > bscan: bscan.c:637 End of all Volumes. VolFiles=1 VolBlocks=0
> > > VolBytes=5,328,646,644
> > > Records added or updated in the catalog:
> > >       1 Media
> > >       1 Pool
> > >       1 Job
> > >   72468 File
> > >
> > > ====
> >
> > The output is actually quite interesting. He is trying to build the
> index and suddenly stops. That's what i don't get ..
> > --
> >
> > Select FileSet resource (1-2): 2
> > +-------+-------+----------+---------------+---------------------+--
> ---------------------+
> > | JobId | Level | JobFiles | JobBytes      | StartTime           |
> VolumeName            |
> > +-------+-------+----------+---------------+---------------------+--
> ---------------------+
> > | 3,003 | F     |   72,468 | 5,324,390,746 | 2011-05-24 08:27:02 |
> Y-mond-fd-2011-05-Vol |
> > +-------+-------+----------+---------------+---------------------+--
> ---------------------+
> > You have selected the following JobId: 3003
> >
> > Building directory tree for JobId(s) 3003 ...
> ++++++++++++++++++++++++++++++++++++++++++++
> >
> > 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.
> 
> Maybe it is bug 1558?
> 
> http://bugs.bacula.org/view.php?id=1558
> http://adsm.org/lists/html/Bacula-users/2010-04/msg00500.html
> 
> __Martin
> 

"UPDATE Job SET PurgedFiles=0 WHERE JobId = 3003;"

That did the trick, thanks a million martin!


------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>