You can do HDR (high dynamic range) photography during the totality phase of the eclipse and combine the images later using software like Photoshop or Photomatix.
Read this article by Jean-Marc Lecleire at Photomatix. You will also need to know the eclipse photography basics if you haven’t photographed an eclipse before. See the articles linked below.
The Great American Eclipse Series
The Great American Eclipse Series – All of my eclipse articles are listed at this link. Check back for new articles as they appear. This is the 33rd article in the series.
HDR for Astrophotography – Q&A on Solar Eclipse by Jean-Marc Lecleire at Photomatix
How To Photograph the Sun (and an Eclipse) with Lee and Other High Density Solar Filters
How to Process a “Blue Sun” Photographed with a Lee Solar Filter
How to Photograph the Sun (and an Eclipse) with a “White Light” Solar Filter
Practice Your Solar Eclipse Photography Skills Now!
Photographing the Eclipse: How Big Do You Like Your Sun?