Short answer
OBD is the easiest route but is not open on every unit, and it often yields only part of the memory. It may not be enough on its own when recovery is needed.
Detailed answer
The OBD method works through the diagnostic socket without removing the unit. In exchange for that ease, success depends on the unit's software, its security access and the state of the vehicle's bus.
On many units OBD gives only the calibration area, not all of memory. A backup of that kind may not be enough for full recovery later. On units with newer software, OBD access may also be closed entirely.
If a write is interrupted, the unit may not communicate again and a more direct method can become necessary. So before important work, find out from your tool's documentation what its read actually covers.
Last updated: