the cvr records the last 30mins of flight i believe. Which i think is standard across all types. As this is the most important part of the flight/crash.
The dfdr records the last 25 hrs of flight and once the 25hrs are up, the new data starts recording over the oldest recordings.