Categories
Mastering Development System & Network

Azure VM off-site backups via CLI

I’m currently backing up Azure VMs via Azure CLI: create resource group: az group create -n backup-resource-group -l uksouth create recovery services vault: az backup vault create –resource-group backup-resource-group –name backup –location uksouth loop VMs to create backup jobs: az backup protection enable-for-vm –resource-group backup-resource-group –vault-name backup –vm $(az vm show -g servers-resource-group -n –query […]