I use the automated raspberry pi zero teslacam that automatically uploads sentry and dash cam footage to a PC at home. There are variations that will also upload to AWS so you can get a cloud storage solution also.
I also use tesla-dashcam to combine all the footage into a single MP4 file. so what happens is that once all my footage is uploaded the PC runs the program to merge each sentry/dashcam save into a single MP4
I have a script that runs on the raspberry pi zero that copies/moves out the RecentClips (where the dashcam footage is stored) to another directory so it then fills up the SSD with dashcam footage before deleting the oldest version(it'll store about 5 hours before it loops) currently testing it, but i'm hopeful it'll help. The biggest issue atm is the scheduling, but i'm getting here(famous last words)
Also, I will admit i've found the video quality poor when compared to an aftermarket dashcam
That all sounds quite technical, which can be an end to itself.
I've gotta ask though....why do all this?