A fault recovery procedure based on Bayesian reasoning and decision analysis