implemented script for backup database with full freeze and lvm support