X-Git-Url: https://git.sesse.net/?p=backup.sh;a=blobdiff_plain;f=backup.sh;fp=backup.sh;h=e649f36b11b5ff45a4f93cd32e0135c67ebdf7a3;hp=e64312f529f68b3021a2751c2c75ef186092f85a;hb=0e137607eaa0ac9cc1bc476110b83ff4149c89d5;hpb=875b0af73ff25c6f85097b05820ae9f0c0894486 diff --git a/backup.sh b/backup.sh index e64312f..e649f36 100755 --- a/backup.sh +++ b/backup.sh @@ -135,8 +135,8 @@ backup() # Pipe the stuff over ssh to ourselves, run pee to cat the contents to a # file and build a file list, respectivly. TARFILE=$DATE.tmp - TARCMD="ssh -n $username@$computer \"$nice tar --one-file-system --use-compress-program $fscompressor -cf - -C $filesystem . $lastcmd \ - --exclude-from=$remotehome/.backup/exclude\" | pee \"$storageprogram > $TARFILE\" \"$decompressor | tar tvf -\"" + TARCMD="ssh -n $username@$computer \"$nice tar --one-file-system --use-compress-program $fscompressor -cf - -C $filesystem $lastcmd \ + --exclude-from=$remotehome/.backup/exclude\" . | pee \"$storageprogram > $TARFILE\" \"$decompressor | tar tvf -\"" infomsg "Running $TARCMD" eval $TARCMD > $DATE.idx