reportspace doesn't work
Hi,
It looks reportspace doesn't work, and the code of backupninja looks strange about that.
There is the code :
backuploc=(grep ^directory "
configdirectory"/"$i" | awk '{print $3}')
if [ "backuploc" != "
previous" ]; then
mountdev=(mount | grep "
backuploc" | awk '{print $1}')
df -h "$mountdev"
previous="$backuploc"
fi
With my conf, i get backuploc = "/mnt/dd160/backup" and mount show that about this device : /dev/hdc1 on /mnt/dd160 type ext3 (rw,user_xattr)
so when it do mount | grep "$backuploc"
It doesn't get anything and i get an error in my mail :)
(from redmine: created on 2007-07-31, closed on 2007-10-12)