The invention discloses a failure repository-based automated failure processing system and a method and belongs to the technical field of failure processing technology. According to the technical scheme of the invention, failures are classified and processed a failure repository. After that, the reason analysis of the failures and the matching of failure processing strategies are conducted, and then failure processing command/scripts are automatically executed according to the processing strategies. After the processing process, processing results are collected and the corresponding detection and confirmation is conducted. At the same time, the failure processing experience is accumulated in the failure repository and the above steps form a cycle. Based on the association of the automated failure processing and the failure processing strategies, the failure processing is automatically executed in combination with the failure processing strategies and the failure knowledge. Meanwhile, the accumulation of both the failure knowledge and the failure processing strategies is realized, so that the failure processing timeliness and the failure processing efficiency are greatly improved. Moreover, the waste of failure processing resources and the waste of time, caused by the condition that various managers are not familiar in other fields, can be effectively avoided. At the same time, the automated manner is adopted, so that the failure processing of a data center is more accurately conducted just in place.