We start by finding out what equipment is installed and what documentation or source code is actually available. A backup is only useful if it can be found and the recovery route is understood.
For a retrofit, the existing project matters. Where source code is missing, we assess what can be rebuilt and plan the migration around production continuity.