exf=`ssh $computer "ls ~/.backup/exclude"`
#We try to run tar on the remote computer
- if `ssh $computer "cd $filesystem ;\
- $tar cfl - . $lastcmd \
+ # C is instead of 'cd $filesystem'
+ # - is 'this directory'
+ # l is 'stay in local filesystem
+ if `ssh $computer "$tar cfCl - $filesystem . $lastcmd \
--exclude-from=$exf \
| gzip" \
| dd of=$DATE.tmp 2>/dev/null`
#[ ! -z $remotestat ] && scp /tmp/report.txt $remotestat
###
+# print diskusage to logfile
+df -k
+
date