Bacula-users

Re: [Bacula-users] bscan back volumes

2011-07-28 05:15:49
Subject: Re: [Bacula-users] bscan back volumes
From: "Richard Marnau" <marnau AT giovannil-nord DOT de>
To: "'Ken Barclay'" <ken.barclay AT qbmore DOT com>
Date: Thu, 28 Jul 2011 11:13:32 +0200
I did create a new database and did the same bscan, this one was working.
Job/volume/pool is set to 365 days in the pool configuration.

Just wondering:
If the client "file retention" is still default and the pools "file retention" 
is set,
Which one will actually be in action? I guess the shorter one (client default 
60 days?)

> -----Ursprüngliche Nachricht-----
> Von: Ken Barclay [mailto:ken.barclay AT qbmore DOT com]
> Gesendet: Donnerstag, 28. Juli 2011 10:47
> An: 'Richard Marnau'; bacula-users AT lists.sourceforge DOT net
> Betreff: Re: [Bacula-users] bscan back volumes
> 
> I had a similar problem when I first used bscan.
> The answer is at the end of your message "Most likely your retention
> policy pruned the files".
> 
> What happened was that as soon as the data was bscanned back into the
> catalog, it was immediately pruned due to the retention policy.
> 
> Once I changed the retention (file retention and maybe volume
> retention) period, all went well.
> 
> Hope this helps.
> 
> Ken
> 
> -----Original Message-----
> From: Richard Marnau [mailto:marnau AT giovannil-nord DOT de]
> Sent: Thursday, 28 July 2011 3:32 PM
> To: bacula-users AT lists.sourceforge DOT net
> Subject: Re: [Bacula-users] bscan back volumes
> 
> > 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.
> 
> 
> ---
> Thanks a lot in advanced for all hints ..
> 
> Cheers Richard
> 
> 
> 
> ----------------------------------------------------------------------
> --------
> 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
> 
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1390 / Virus Database: 1518/3792 - Release Date:
> 07/27/11
> 
> 
> ----------------------------------------------------------------------
> --------
> 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


------------------------------------------------------------------------------
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>