Azure / Azure/azure-cli

No option to turn on "Backup/restore over virtual network" option for App Service Backup commands

Open
#28,987 8 comments 1 reaction 1 assignee Assigned to @gsethdev View on GitHub
act-observability-squad app-service-backup-restore Auto-Assign Auto-Resolve customer-reported feature-request Service Attention Web Apps
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

At present, there is no option in either `az webapp config backup create` or `az webapp config backup update` azcli commands to set the "Backup/restore over virtual network integration" option in the Custom Backup section of a Windows App Service.

![image](https://github.com/Azure/azure-cli/assets/19527473/be73f5e9-ccd0-4c51-a245-be822807d48c)

This is causing the created Custom Backup to fail since target storage account has firewall enabled and access is restricted inside the vnet.

### Related command

az webapp config backup update
az webapp config backup create

### Errors

No Errors but created Custom backup does not have "Backup/restore over virtual network integration" option Enabled which is causing backup to fail since target storage account has firewall enabled and access is restricted to the Vnet.

### Issue script & Debug output

N/A

### Expected behavior

There should be an option to set "Backup/restore over virtual network integration" to either True or False from azcli commands.

### Environment Summary

azure-cli 2.55.0 *

core 2.55.0 *
telemetry 1.1.0

Extensions:
interactive 0.5.3

Dependencies:
msal 1.24.0b2
azure-mgmt-resource 23.1.0b2

Python location 'C:\Program Files\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\asd\.azure\cliextensions'

Python (Windows) 3.11.5 (tags/v3.11.5:cce6ba9, Aug 24 2023, 14:38:34) [MSC v.1936 64 bit (AMD64)]

Legal docs and information: aka.ms/AzureCliLegal

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.