In most cases home batteries are not the best choice. The problem with batteries are their price and longevity.
Compared to a Home Generator with costs in the $10,000 to $15,000 range, a Battery Backup with required equipment and installation costs can easily reach $35,000.
Batteries have a short warranty of 10 years and combined with the inevitable degradation of the efficiency of batteries, you’re lucky if you beat the clock on your return on investment. As battery technology improves and the cost inevitably drops, an Automated Standby Generator is usually a better value.