Removing order data from cart database

I’ve been running Backlight for quite a few years and I’ve built up a lot of customer data that I’d like to remove (ideally archived on local storage) in case of a data breach. Any advice please on the best way to do that? Running BL5.