Hydrogen fuel cell backup power is a modern way to ensure an uninterrupted and decentralised supply of electricity. A stationary and mobile fuel cell, commonly referred to as a hydrogen generator, is used to produce electricity during power outages or other emergency situations. These fuel cell backups are designed to provide a reliable and efficient source of electricity for critical loads, such as hospitals, data centres, and other critical infrastructures. Hydrogen generators are typically used in situations where a reliable and efficient source of electricity is needed, and in cases when conventional diesel generators are not the priority. These generators can also be used in remote locations where access to the grid is limited or unavailable, or in applications where the use of fossil fuels is not practical or desirable. The article covers the thematic related to comparison of diesel and hydrogen generators, with regards to advantages and shortcomings of the latter, as well as provides an insight into possible use of hydrogen generators in Latvia.