In Germany it's just plain illegal to have public space within the camera's field of view. The camera must also be mounted in a way that it can't be rotated by software and can't be rotated easily by hand in a way that it is able to have public space within the field of view.
Cameras at main stations and within trains, only store their data for 24 and gets deleted afterwards afair, as long as it's not requested by some entity that a specific recording should be retained.