One thing I didn't see in Gary's article and I didn't see mentioned in other replies, is how far to discharge the batteries.
-- For longest battery life, don't discharge more than 25% (i.e 75% full)
-- Never discharge more than 50%. Discharging more than 50% significantly reduces the life of the battery.
This means if you have a pair of golf cart batteries, you start with about 220AH's of battery. So don't use more than 100AH and for best life don't don't used more than 50AH before charging.
Additionally, if you don't charge the battery to 100% full frequently, that would be every 7-10 days, (every 3-5 days would be better) the batteries will sulfate and you won't get as much capacity from them.
This 100% charging issue is one big reason trying to charge batteries with a generator while boondocking or dry camping doesn't work well.
Charging the batteries to 100% takes a long time, many hours. The charge rate is very high at the beginning, but quickly tapers off to 10 amp, then 5, and lastly 3-0 amps over the last several hours.
A well designed solar system, used for extensive boondocking or dry camping, will, on a sunny day, bring your batteries to 90% or better in just 2-3 hours and then the next 2-6 hours of sun will top them off to the at or very near the 100% mark.
You might wonder just how do you know how many AH's you have used. You buy and install a battery monitor like a Trimetric.
https://www.solar-electric.com/bogart-engineering-tm-2030-rv-battery-monitor.html The battery monitor tracks and displays how many AH's that have been used and the % of battery life left.
Without a battery monitor you are just shooting in the dark hoping you have not used to much of your capacity and not knowing just how much you have put back into the battery.