The generator is good until you are out of gas/diesel.
Protip: loan the generator to the gas station before that happens so they can pump [your] fuel out of the underground storage tanks!
If your expecting to be out of power for such a long time then perhaps you should look toward a solar panel with a battery.