using enum instead of string for recovery model.