Update databasecheck.sh

these set of fixes fixed the backups and display of backup space