CmdID / az / az sql / az sql midb / az sql midb ltr-policy
az sql midb ltr-policy set
Update long term retention settings for a managed database. Azure CLI reference
4 options Its page in the Azure CLI reference
Options
--monthly-retentionRetention for the monthly backup.--week-of-yearThe Week of Year, 1 to 52, in which to take the yearly LTR backup.--weekly-retentionRetention for the weekly backup.--yearly-retentionRetention for the yearly backup.