On Mon, Apr 20, 2020 at 18:29:13 +0100, Nuno Dias wrote:
>  So, after countless hours with this issue without success, let me ask
> the community about smbtar.
> 
>  Can I use smbtar with amanda? if yes how? do I need to write a new
> plugin? 
> 

(At least here on my Ubuntu system, smbtar is just a wrapper shell
script around smbclient, so I doubt that adding that level of
indirection into the pipeline Amanda is trying to execute would make
things work better....

However, it does remind me that when I was trying to get this working I
did extract the actual "smbclient" command from the .debug file and run
it manually from the command line in order to experiment.  For example,
the .debug file for the estimate phase shows the command 
  /usr/bin/smbclient <share-path> -d 0 -U backup -E -W <workgroup> -c archive 
0;recurse;du

, so then I set the USER and PASSWD environment variables in my shell
session [running on the Amanda server machine], and did experimentation
using
  /usr/bin/smbclient <share-path> -d 0 -E -W <workgroup> -c "archive 
0;recurse;du"

... and similarly for the command taken from the sendbackup runs where
the command was something more along the lines of "cd TestDirectory/;
tarmod full reset hidden system quiet; tar c -".... etc.

This allowed me to try out permissions changes on the Share volumes in
real time, rather than having to kick off a full Amanda run to see the
results of my changes.)


                                                Nathan

----------------------------------------------------------------------------
Nathan Stratton Treadway  -  [email protected]  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239

Reply via email to