

- #How to change startallback settings how to#
- #How to change startallback settings install#
- #How to change startallback settings upgrade#
To change the PITR backup retention for all active databases in a managed instance, use the following PowerShell example: # Set a new PITR backup retention period for all active databases Set-AzSqlInstanceDatabaseBackupShortTermRetentionPolicy -ResourceGroupName resourceGroup -InstanceName testserver -DatabaseName testDatabase -RetentionDays 1 To change the PITR backup retention for a single active database in a managed instance, use the following PowerShell example: # Set a new PITR backup retention period on an active individual database Use the following example to change the PITR backup retention for all active databases in a managed instance: # Set a new PITR backup retention period for all active databases # Valid backup retention must be 1 to 35 daysĪz sql midb short-term-retention-policy set \ Use the following example to change the PITR backup retention of a single active database in a managed instance: # Set a new PITR backup retention period on an active individual database
#How to change startallback settings upgrade#
To upgrade to the latest version, run az upgrade. Run az version to find the version and dependent libraries that are installed. For more information about extensions, see Use extensions with the Azure CLI.
#How to change startallback settings install#
When you're prompted, install Azure CLI extensions on first use. For additional sign-in options, see Sign in with the Azure CLI. To finish the authentication process, follow the steps displayed in your terminal. If you're using a local installation, sign in to the Azure CLI by using the az login command.
#How to change startallback settings how to#
For more information, see How to run the Azure CLI in a Docker container. If you are running on Windows or macOS, consider running Azure CLI in a Docker container. If you prefer to run CLI reference commands locally, install the Azure CLI. For more information, see Azure Cloud Shell Quickstart - Bash. Use the Bash environment in Azure Cloud Shell.

Prepare your environment for the Azure CLI:
