@ZipLine-- That's a good question. I'm not an expert on this topic so I'm not sure.
Hernias themselves are probably not genetic, but it's causes might be. For example, weakness of back muscles could have a hereditary component. When the back muscles are weak, tension and pressure builds up on the spinal discs and the risk of hernias increases. The best herniated disc treatment is actually strengthening those muscles to prevent further injury.