rm -rf $isomountdir $isoimage
err "Unable to label the iso image: $isoimage"
fi
echo "-> Mounting the iso image"
mount -t ext2 -o loop $isoimage $isomountdir
rm -rf $isomountdir $isoimage
err "Unable to label the iso image: $isoimage"
fi
echo "-> Mounting the iso image"
mount -t ext2 -o loop $isoimage $isomountdir
find $backupdirs -type $type -printf "$findformat"
else
echo $excludedirs | sed -e 's/ /\n/g' > $tmpdir/excluded
find $backupdirs -type $type -printf "$findformat" | grep -z -v -f $tmpdir/excluded
fi
done
find $backupdirs -type $type -printf "$findformat"
else
echo $excludedirs | sed -e 's/ /\n/g' > $tmpdir/excluded
find $backupdirs -type $type -printf "$findformat" | grep -z -v -f $tmpdir/excluded
fi
done
echo "-> Running rsync to pack the image"
rsyncopts="-W -H -S -l -p -t -g -o -0 --files-from=- --stats --progress"
cat $backups | rsync $rsyncopts / $isomountdir
echo "-> Running rsync to pack the image"
rsyncopts="-W -H -S -l -p -t -g -o -0 --files-from=- --stats --progress"
cat $backups | rsync $rsyncopts / $isomountdir