safely delete old databases