CmdID

CmdID / az / az sql / az sql db / az sql db str-policy

az sql db str-policy set

Update short term retention settings for a live database. Azure CLI reference

4 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

4 in the Azure CLI reference
--diffbackup-hoursNew backup short term retention policy differential backup interval in hours.Valid differential backup interval for live database can be 12 or 24 hours.
--lock-immutabilityWhether to lock backup immutability.
--retention-daysNew backup short term retention policy retention in days.Valid retention days for live database of (DTU) Basic can be 1-7 days; Rest models can be 1-35 days.
--yes, -yDo not prompt for confirmation when locking backup immutability.