Eng 4805 Integrate safe mode recovery with permissive snapshot restore