From 3870092139e235a69ca81ef8c2dd0739041a5d9a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 22 Nov 2000 14:41:22 +0000 Subject: [PATCH] *** empty log message *** --- backup.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 \ -- 2.39.2