From 04c4ca1b241f3ef49e4a626c35141fea3cb1099a Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Fri, 21 Aug 1998 09:01:30 +0000 Subject: Submitting the smbtar changes to the main branch as well. Regards Richard Sharpe (This used to be commit 749ec1e0a79c5836bba0fc0213576ed79ef761d5) --- source3/script/smbtar | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/script/smbtar b/source3/script/smbtar index 20422b0334..25c36b2a8f 100644 --- a/source3/script/smbtar +++ b/source3/script/smbtar @@ -6,6 +6,10 @@ # and Ricky Poulten (ricky@logcam.co.uk) # # (May need to change shell to ksh for HPUX or OSF for better getopts) +# +# Richard Sharpe, added -c 'tarmode full' so that we back up all files to +# fix a bug in clitar when a patch was added to stop system and hidden files +# being backed up. case $0 in # when called by absolute path, assume smbclient is in the same directory @@ -25,6 +29,7 @@ verbose="2>/dev/null" # Default: no echo to stdout log="-d 2" newer="" blocksize="" +clientargs="-c 'tarmode full'" tarcmd="c" tarargs="" cdcmd="\\" @@ -145,6 +150,6 @@ if [ -z "$verbose" ]; then fi eval $SMBCLIENT "'\\\\$server\\$service'" "'$password'" -U "'$username'" \ --E -N $log -D "'$cdcmd'" \ +-E -N $log -D "'$cdcmd'" ${clientargs} \ -T${tarcmd}${tarargs} $blocksize $newer $tapefile $* $verbose -- cgit