Archiving of old data

After accumulating 2 years of data in our data O2C and P2P data models, I’d like to setup a regular cleanup job to remove all data older than 2 years from the data model. Are there any best practices to do this you could share with me?