az webapp config backup
Manage backups for web apps.
Name | Description | Type | Status |
---|---|---|---|
az webapp config backup create |
Create a backup of a web app. |
Core | GA |
az webapp config backup delete |
Delete a web app backup. |
Core | GA |
az webapp config backup list |
List backups of a web app. |
Core | GA |
az webapp config backup restore |
Restore a web app from a backup. |
Core | GA |
az webapp config backup show |
Show the backup schedule for a web app. |
Core | GA |
az webapp config backup update |
Configure a new backup schedule for a web app. |
Core | GA |
Create a backup of a web app.
az webapp config backup create --container-url
--resource-group
--webapp-name
[--backup-name]
[--db-connection-string]
[--db-name]
[--db-type {LocalMySql, MySql, PostgreSql, SqlAzure}]
[--slot]
Create a backup of a web app. (autogenerated)
az webapp config backup create --container-url {container-url} --resource-group MyResourceGroup --webapp-name MyWebapp
URL with SAS token to the blob storage container.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the web app.
Name of the backup. If unspecified, the backup will be named with the web app name and a timestamp.
Connection string for the database in the backup.
Name of the database in the backup.
Type of database in the backup.
The name of the slot. Default to the productions slot if not specified.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Delete a web app backup.
az webapp config backup delete --backup-id
--resource-group
--webapp-name
[--slot]
[--yes]
Id of the backup.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the web app.
The name of the slot.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
List backups of a web app.
az webapp config backup list --resource-group
--webapp-name
[--slot]
List backups of a web app. (autogenerated)
az webapp config backup list --resource-group MyResourceGroup --webapp-name MyWebapp
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the web app.
The name of the slot. Default to the productions slot if not specified.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Restore a web app from a backup.
az webapp config backup restore --backup-name
--container-url
--resource-group
--webapp-name
[--db-connection-string]
[--db-name]
[--db-type {LocalMySql, MySql, PostgreSql, SqlAzure}]
[--ignore-hostname-conflict]
[--overwrite]
[--slot]
[--target-name]
Name of the backup to restore.
URL with SAS token to the blob storage container.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the web app.
Connection string for the database in the backup.
Name of the database in the backup.
Type of database in the backup.
Ignores custom hostnames stored in the backup.
Overwrite the source web app, if --target-name is not specified.
The name of the slot. Default to the productions slot if not specified.
The name to use for the restored web app. If unspecified, will default to the name that was used when the backup was created.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Show the backup schedule for a web app.
az webapp config backup show --resource-group
--webapp-name
[--slot]
Show the backup schedule for a web app. (autogenerated)
az webapp config backup show --resource-group MyResourceGroup --webapp-name MyWebapp
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the web app.
The name of the slot. Default to the productions slot if not specified.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Configure a new backup schedule for a web app.
az webapp config backup update --resource-group
--webapp-name
[--backup-name]
[--container-url]
[--db-connection-string]
[--db-name]
[--db-type {LocalMySql, MySql, PostgreSql, SqlAzure}]
[--frequency]
[--retain-one {false, true}]
[--retention]
[--slot]
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The name of the web app.
Name of the backup. If unspecified, the backup will be named with the web app name and a timestamp.
URL with SAS token to the blob storage container.
Connection string for the database in the backup.
Name of the database in the backup.
Type of database in the backup.
How often to backup. Use a number followed by d or h, e.g. 5d = 5 days, 2h = 2 hours.
Always keep one backup, regardless of how old it is.
How many days to keep a backup before automatically deleting it. Set to 0 for indefinite retention.
The name of the slot. Default to the productions slot if not specified.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI feedback
Azure CLI is an open source project. Select a link to provide feedback: