It doesn’t need to store video, just data about where the person is and there various identifying data… the system uses the recordings to generate fingerprints for everyone, then just stores data about where you were/are.
Store hashes of the detected faces. Or store low framerate video, just occasional frames where people are detected