[python] add data recovery