👻

Azure Backupの練習

に公開

Azure 仮想マシン用のバックアップを作成する

https://learn.microsoft.com/en-us/training/modules/protect-virtual-machines-with-azure-backup/4-exercise-back-up-azure-virtual-machine

環境を設定する

az network vnet create --resource-group "test-backup" --name NorthwindInternal --address-prefixes 10.0.0.0/16 --subnet-name NorthwindInternal1 --subnet-prefixes 10.0.0.0/24

Azure CLI を使用して Windows 仮想マシンを作成する

az vm create --resource-group "test-backup" --name NW-APP01 --size Standard_DS1_v2 --public-ip-sku Standard --vnet-name NorthwindInternal --subnet NorthwindInternal1 --image Win2016Datacenter --admin-username azureadmin --no-wait --admin-password <password>

Azure CLI を使用して Linux 仮想マシンを作成する

az vm create --resource-group "test-backup" --name NW-RHEL01 --size Standard_DS1_v2 --image RedHat:RHEL:8-gen2:latest --authentication-type ssh --generate-ssh-keys --vnet-name NorthwindInternal --subnet NorthwindInternal1

Azure portal を使用して仮想マシンのバックアップを有効にする

ポータルでバックアップを監視する

単一の仮想マシンのバックアップの状態を表示する

Recovery Services コンテナー内のバックアップの状態を表示する

Azure portal で仮想マシンを復元する

ステージング場所として使用するストレージ アカウントを作成する

https://learn.microsoft.com/en-us/training/modules/protect-virtual-machines-with-azure-backup/6-exercise-restore-virtual-machine-data

仮想マシンを停止する

仮想マシンを復元する

復元を追跡する

Discussion