On Tuesday 17 January 2006 18:28, Eric Peterson wrote:
> Those file definitely were not deleted.  I have a lot of control over these
> machines and the files have definitely not been deleted.
>
> I ran bls and looked at the /home directory of the Full backup and found
> that all the users were in there.  When I run restore from bconsole it
> restores less than half.  I can look at the live system and I know how many
> should be there.  bconsole is not restoring things properly.

I suspect that all the File records are pruned from your Full backup.  Bacula 
is not yet smart enough to know that a backup has been pruned, so your low 
file count is probably due to that ...

You can test this guess by doing a "list files jobid=120".  You will quickly 
see if it is the case.  Alternatively do "llist jobid=120" and if 
PurgedFiles=1, then there are no File records left for doing a normal restore 
with selection.

If you *really* need the files that were backed up by this job, you can get 
*all* of them back by first restoring *just* that jobid, using the jobid 
selection item in the restore menu, then in a second job restore the files in 
the other jobids, assuming job 120 is the only one purged.  For each purged 
job, you must restore it by itself, one after another in the order they were 
initially created -- I am assuming you are on 1.38.0 or greater; what I have 
described will not work for prior versions.

>
> On 1/17/06, Martin Simmons <[EMAIL PROTECTED]> wrote:
> > >>>>> On Tue, 17 Jan 2006 16:58:50 +0100, Wolfgang Denk <[EMAIL PROTECTED]>
> > >>>>> said:
> >
> >   Wolfgang> In message <
> >
> > [EMAIL PROTECTED]> you wrote:
> >   >> Automatically selected FileSet: Full Set
> >
> > +-------+-------+----------+---------------------+----------------+------
> >--=
> >
> >   >> ---+--------------+----------------+
> >   >>
> >   >> | JobId | Level | JobFiles | StartTime           | VolumeName     |
> >   >>
> >   >> StartFile | VolSessionId | VolSessionTime |
> >
> > +-------+-------+----------+---------------------+----------------+------
> >--=
> >
> >   >> ---+--------------+----------------+
> >   >>
> >   >> |   120 | F     |  306,607 | 2005-12-05 10:09:52 | Luna-Full-0002 |
> >   >>
> >   >> 0 |           34 |  1,133,188,252 |
> >   >>
> >   >> |   120 | F     |  306,607 | 2005-12-05 10:09:52 | Luna-Full-0002 |
> >   >>
> >   >> 0 |           34 |  1,133,188,252 |
> >
> >   Wolfgang> ...
> >
> >   >> Building directory tree for JobId 120 ...
> >   >> Building directory tree for JobId 295 ...  +
> >   >> Building directory tree for JobId 300 ...
> >   >> Building directory tree for JobId 305 ...
> >   >> Building directory tree for JobId 310 ...
> >   >> 5 Jobs, 11,690 files inserted into the tree.
> >
> >   Wolfgang> ...
> >
> >   >> This makes sense until you read the last line. Why does it say "5
> >
> > Jobs,
> >
> >   >> 11,690 files inserted into the tree."?  Shouldn't have a file count
> >
> > closer
> >
> >   Wolfgang> Because this is the number of files present in your tree at
> > the  time
> >   Wolfgang> when the last incremental was run?
> >
> >   >> to the file count of the full backup (120) above?  Why does job ID
> >
> > 120 show
> >
> >   Wolfgang> Maybe you deleted some 395,000 files after running
> > the  full  backup,
> >   Wolfgang> so bacula notes that it should not restore these obsoleted
> > files?
> >
> > It can't be that, because bacula doesn't know about deleted files.  A
> > restore
> > from a full + diff/incrs will give you all the file that were backed up,
> > including any files in the full that have been deleted.
> >
> > __Martin

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to