Hi @FAhmed-4761
Yes the current maximum retention period is for 35 days as described here.
This also describes the method for the pg_dump. Although not elegant but if 7 years retention is a necessity, you can work out a strategy to keep backups using pg_dump in storage.
Hope this helps. Thanks
Navtej S