This is a generator, a dead battery is not a problem. Nothing in this setup is less likely to break than your chain or a derailleur -- I've had those happen to me a couple of times each.
But I've also broken frames and taco'd wheels. Should I bring spares for those?
That generator can probably do a million miles.