Az cli backups

From UVOO Tech Wiki
Revision as of 17:26, 14 September 2022 by Busk (talk | contribs) (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....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.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}