Looking for environment variables

I am trying to find the doc that relates to the environment variables bellow. For some reason I am unable to find any mention of them.

RETENTION_YEARS: '0'
RETENTION_MONTHS: '12'
RETENTION_WEEKS: '5'
RETENTION_DAYS: '7'
RETENTION_HOURS: '120'

I wanted to change the above with en env for --keep-within to replace the above now that I better understand how retention works but as I said, I see no mention of any of the above.

Any help would be welcome. Thanks!

I might be wrong but a quick grep of the restic repo shows no signs of the above variables so I’m guessing they are no longer valid.

Please correct me if I’m wrong.

Environment variables are listed in the documentation. As far as I know there are no envvars which apply to prune rules; none of those are envvars I recognise.