We do have a generator, but the electrician hasn't come to install the override, so I need to run an extension cord through a window. Did that, actually got the generator started and the tanks (heaters and filters) hooked up, ran for a few minutes, and the generator ran out of gas

One of those days. Then I couldnt find the gas can (only two cans of diesel) so had to go out to get a new can and some gas. Also went to the fish store and got 3 bottles of Tetra Safe Start just in case....
Got home and the power is back on.
And the wind has died down so hopefully it will stay on.
But there will be a next time.
So, how long can a cannister filter be without power wthout the bacteria dying? Even with gas, we can't run the generator all night....
And what kind of filters can run on a battery?
Thanks!