For people who are looking for an alternative to the data retention feature but are using the open source version I have made a small guide: