Herpstats shouldn't be used with generators, they don't produce power that is clean enough.
I would use a Herpstat with a Ranco as a backup. In the case of power failure use the generator with the Ranco.
A good surge protector is an exelent idea just avoid battery backups (they have the same issue as generators do with not producing clean power due the DC/AC inversion).