From: root Date: Wed, 22 Nov 2000 14:41:22 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.sesse.net/?p=backup.sh;a=commitdiff_plain;h=3870092139e235a69ca81ef8c2dd0739041a5d9a *** empty log message *** --- diff --git a/backup.sh b/backup.sh index 49a643d..20a26f9 100755 --- a/backup.sh +++ b/backup.sh @@ -61,11 +61,14 @@ backup() fi #if this client has a special tar - $tar=${TAR:-tar} - unset TAR + #we need to find a better solution to this conf-issue + if [ -f $confdir/tar.$computer ] ; then + tar=`cat $confdir/tar.$computer` + else + tar=tar + fi #We try to run tar on the remote computer - #need to specify a special tar on some clients. how? if `ssh $computer "cd $filesystem ;\ $tar cfl - . $lastcmd \ --exclude-from=/tmp/.backup/exclude \