On Fri, 2020-04-17 at 23:53 +0100, Nuno Dias wrote:
>  Hi,
> 
>  In my case is amanda 3.5.1 and samba 4.10.14
> 
>  This is my configuration
> 
> define application-tool app_amsamba {
>         plugin   "amsamba"
>         property "SMBCLIENT-PATH" "/usr/bin/smbclient"
>         property "GNUTAR-PATH" "/bin/tar"
>         property "AMANDAPASS" "/etc/amandapass"
> #        property "ALLOW-ANONYMOUS" "guest"
> }
> 
> define dumptype samba   {
>         global
>         comment         "Samba"
>         program         "APPLICATION"
>         application     "app_amsamba"
> }
> 
>  Can you tell me if is same as your? And what was the problem with
> amandapass?
> 

I have:

define application-tool app_amsamba {
        comment "amsamba"
        plugin "amsamba"
        property "SMBCLIENT-PATH" "/usr/bin/smbclient"
        property "GNUTAR-PATH" "/bin/tar"
        property "ALLOW-ANONYMOUS" "NO"
        property "RECOVER-MODE" "tar"
        property "REGEX-MATCH" "NO"
}

Looks pretty similar.

I don't remember what the amandapass issue was, it looks like the
examples in the amsamba man page. I do seem to have it both in /etc and
symlinked in /etc/amanda, which suggests I had a file location issue and
didn't finish cleaning it up

Have you tested smbclient to make sure it works?

Reply via email to