>The file vmlinuz-2.4.2 in the boot directory does not seem to be backed 
>up correctly.
>
>If I use dump on the partition and then restore I get
>'end-of-input encounted while extracting ./vmlinuz-2.4.2-2'

I assume what you mean is you told Amanda to use dump, right?

Amanda pretty much just manages whatever image the dump program (be it
dump or GNU tar) gives it.  It would be next to impossible for Amanda
to cause a particular file to misbehave (unless it happens to be at the
same place in the dump image).  The first thing I'd do is see if one of
the dump programs is having trouble before throwing Amanda into the mix.

Do a dump (or GNU tar) of the boot directory to a temp area, then cd
someplace and do the restore and see what you get back.  In the case
of dump, the appropriate (what Amanda does) command would be something
like this:

  dump 0f - /boot | cat > /some/temp/area/boot.d

GNU tar is a bit more complicated, but this should be close enough for
a first test:

  cp /dev/null /tmp/xxx
  gtar --create --file - --directory /boot --one-file-system \
    --listed-incremental /tmp/xxx \
    --sparse --ignore-failed-read --totals . | cat > /some/temp/area/boot.d

Yes, I really mean that silly "cat" step :-).  It more closely mimics
how the command is run in the Amanda pipeline.

>Warrren

John R. Jackson, Technical Software Specialist, [EMAIL PROTECTED]

Reply via email to