Yeah it's hard for batteries alone to compete with generators, unless we put a lot of weight on things like noise, or are just focused on small loads like fridges.
I think the more interesting comparison is generators vs solar, though it depends on the local weather etc.