CmdID / az / az sql / az sql db / az sql db ltr-policy
az sql db ltr-policy set
Update long term retention settings for a database. Azure CLI reference
7 options Its page in the Azure CLI reference
Options
--make-backups-immutable, --tb-immutabilityWhether to enable time based immutability on the LTR backups.--monthly-retentionRetention for the monthly backup.--tb-immutability-modeThe mode of time based immutability to be set on the LTR backups.--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.--yes, -yDo not prompt for confirmation.