Typically, video footage is not archived 24/7. Instead, it is common to retain footage for a set number of hours or days before deleting it. If you want to preserve specific segments of the footage, you can "lock" them to prevent deletion.
This process works similarly to a recording buffer, and it is similar to how dash cams operate if you are familiar with those.