I did have the smbclient defined at configure time but I run the 
configure again and I noticed it was complaining about that address 
and said it would be ignored. I then realised I had put 
--with-smbclient=/opt/samba/bin/ instead of
--with-smbclient=/opt/samba/bin/smbclient

I also discovered that my tar parameter was pointing to the wrong 
version of tar.

With all this fixed I've got it down to one error:

ERROR: father: [can not read/write /opt/amanda/var/amanda/gnutar-
lists/.:No such file or directory]

I suspect this is a default value because /opt/amanda/var/amanda 
does not exist for me. I keep my config files in 
/opt/amanda/etc/amanda/ and I keep my index files in 
/var/adm/amanda. So where can I set this value, is it in my 
amanda.conf and if so what keywords do I use? Also because I've 
never used GNUTAR until know I don't have any gnutar-lists. What 
are gnutar-lists?

Thanks for the pointer Paul


On 12 Apr 2002, at 10:45, Bort, Paul wrote:

> Did you --with-smbclient when you built AMANDA? 
> 
> Here's the batch file I used for building Amanda on my server, which does
> work with SAMBA: 
> 
> #!/bin/bash
> ./configure \
> --with-user=amanda \
> --with-group=disk \
> --with-config=MYCONFIG \
> --with-tape-device=/dev/nst0 \
> --with-changer-device=/dev/sch0 \
> --exec-prefix=/usr \
> --sysconfdir=/ \
> --with-smbclient=/usr/bin/smbclient \
> --with-gnutar=/bin/tar \
> --with-samba-user=username \
> --with-gnutar-listdir=/amanda/Krakow1/gnutar-list
> make 
> make install 
> 
> I think the --with-smbclient and --with-samba-user options will be most
> helpful.
> 
> > -----Original Message-----
> > From: David Flood [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, April 12, 2002 10:04 AM
> > To: [EMAIL PROTECTED]
> > Subject: NT share basckup
> > 
> > 
> > I've set up a share on my NT box.
> > 
> > I can do:
> > 
> > 'smbclient //PC-NAME/SHARE -U username'
> > 
> > after entering the password I can see the contents of the share.
> > 
> > So I set up this share to be backed up by amanda. I have:
> > 
> > Created a share on the PC
> > Created /etc/amandapass with the correct information.
> > Created a dumptype for this backup which is using GNUTAR as required.
> > Added the entry to the disklist in the format:
> > 
> > TAPESEVER //PC-NAME/SHARE Dumptype
> > 
> > where TAPESERVER is the server doing the backup but also has samba.
> > 
> > when I run amcheck config I get the following:
> > 
> > ERROR: father: [This client is not configured for samba: 
> > //wasp/backup]
> > ERROR: father: [GNUTAR program not available]
> > ERROR: father: [can not read/write 
> > /opt/amanda/var/amanda/gnutar-lists/.: No 
> > such file or directory]
> > ERROR: father: [SMBCLIENT program not available]
> > 
> > Has anyone got any suggestions.
> > 
> > David Flood
> > Systems Administrator
> > 



David Flood
Systems Administrator

Reply via email to