I use to have a back battery for all my pumps, I used the icecap model. Not cheap but very easy and fully automatic if power went out.
That was then, now I have a small generator (gas) I just turn on. I have Heavy duty extension cord already run through the house. I just unplug 2 power strips from the wall and plug into the extensions and everything for the tanks turns on. It also accommodates our 2 refrigerators, wife's office and some outlets in the kitchen for charging stuff and making coffee. Next step will be a whole house generator...