Best battery to power a Microcontroller outdoors
Sounds like you need a couple of alkaline D cells.  Run your micro off solar when the sun shines and off the batteries at night.  10 years might be pushing the life of the batteries but not by much.
You can isolate the batteries with a Schottkey diode.