If you are concerned about the fact of possible breakdowns, then buy a reserve power source complete with the UPS, but keep in mind that this block will cost many times more expensive than the generator itself. Therefore, in such cases, you must have a weighty technical and economic justification of such an acquisition.