Head to takeout.google.com, and untick every option except Location History (Timeline). From there, hit Next Step > Create ...
But there is a way to save your Timeline data from deletion, and preserve all your past visits. OS iOS, Android Brand Google ...