Backup or restore of SQL 2005 fails with the following error in the job log "an error occurred on a query to database".