For battery banks, lead acid last about 3-5 (maybe 7+ with luck) years with good maintenance, AGM about the same but require less maintenance,
LiFePo about 10-20 years if not abused (cited as 6,000 to 8,000 cycles, with one cycle roughly meaning a day of charge / discharge).
Note: Lead-acid...