Or in even bigger places, the PDU connects to the UPS, the UPS to the diesel generator which has at least 1 weeks run time, the diesel generator to the sub station. Of course then you need to make sure you have at least N+1 (where N is the number of devices required to run the power, data etc so you add an extra 1 to cope for a single failure) or N+2, or N+N.
Latest one I've just had built has 2 separate sub-stations feeding 2 separate power grids on site, each grid is backed up by a diesel generator with at least 1 weeks on site diesel to run it, this feeds an N+N UPS (the batteries for each UPS weigh 4 tons!) design each on separate grids.