On Wed, 2002-06-12 at 04:13, Christoph Scheeder wrote:
> Hmmmm,
> These files get created by tar, not amanda. They only could exist,
> if amanda would use smbmount and tar to create the samba backups.
> But amanda calls smbclient with the options needed to create a tar
> compatible archive directly, and smbclient doesn't create these files.

okay, so in other words these files are not used when doing a Samba
backup, correct?

> > Could the lack of this file be causing Gnutar to delete my incremental
> > restores on Samba shares but not on the Linux filesystems?
> 
> This seems to be plausible to me.
> i had a look at sources of amrecover and found that tar gets called with
> the options "-xpGvf" for restoring normal tar and samba backups.
> i'm wondering if the "G" option is correct for samba backups.

I was wondering that exact same thing myself!

The manpage doesn't make it extremely clear; what is the difference
between the -g and -G options? I found the place in the sourcecode that
does this (recover-src/extract_list.c) and it makes no distinction
between a tar restore of a Linux filesystem and a tar restore of a
Samba/windows filesystem -- when I believe, as you do, that it should. 

(The #ifdef that is in there seems to make a distinction between
restores directly to the remote Windows machine versus restoring to the
local disk.. but not to distinguish between local disk restores of Samba
filesystems and others).

Interesting thought! Is there a way for me to try the restore manually
and invoke without the -G option?

\marc



Reply via email to