Modify recorder for just a few entries

I have a handful of entities which I want to store forever so I have a history forever.

All the remaining items should basically be stored with the default recorder config (i.e. for a few days and then purged).

Right now I can only do:

  1. Set high retention (e.g. 10000 days) for everything in recorder
  2. Configure my handful entities in recorder but disable them for everything else, which is not good

I know there is no “easy” way to do this but this gotta be possible somehow? I can’t be the first person on this planet.

Currently I am doing (1) but the database just gets too big