Restoring the lost data with high accuracy