Difference between revisions of "Az cli backups"
Jump to navigation
Jump to search
(Created page with "az disk grant-access --duration-in-seconds 86400 --access-level Read --name azd0-foo_OsDisk_1 --resource-group MY-RGRP Download ``` az login --scope https://management.core....") |
|||
Line 1: | Line 1: | ||
− | az disk grant-access --duration-in-seconds 86400 --access-level Read --name azd0-foo_OsDisk_1 --resource-group MY- | + | ``` |
− | + | az disk grant-access --duration-in-seconds 86400 --access-level Read --name azd0-foo_OsDisk_1 --resource-group MY-RESOURCE-GROUP | |
+ | ``` | ||
Download | Download |
Revision as of 17:27, 14 September 2022
az disk grant-access --duration-in-seconds 86400 --access-level Read --name azd0-foo_OsDisk_1 --resource-group MY-RESOURCE-GROUP
Download
az login --scope https://management.core.windows.net//.default url="https://md-hdd-..myurlfrom-grant-access" file_name=azd0-foo.vhd az storage blob download -f ${file_name} --blob-url ${url}