I wonder how they do that. There's only one SFO-FRA flight per day flown by Lufthansa, so if a pilot gets sick, you don't want that delaying the flight and causing a rebooking headache.
I guess they have contracts for all kinds of similar contingencies. Maybe the whole Star Alliance has one for SFO, or operators of various other intercontinental flights do.