faloadventure.blogg.se

Snapshot hdd
Snapshot hdd




snapshot hdd

Select the disk (making sure you do NOT select C: drive or another drive you are using) and right click and format it to NTFS Quick, and give it a Drive Letter.ģ. Go to Windows/My Computer, and right-click on My Computer and select Manage. Once these applications are downloaded, plug in the Flash Drive that you will be using and format it clean, as we will be using this Flash Drive for CloneZilla. Id : /subscriptions/xxxx-xxx-xxxxxxxxx/resourceGroups/tamops-snapshots/providers/Microsoft.2. If you ran the above script, you will have three snapshots as below Write-Output "VM $($vm.name) Data Disk Snapshots End" Write-Output "VM $($vm.name) data Disk $($datadisk.Name) Snapshot End" New-AzSnapshot -ResourceGroupName $VmResourceGroup -SnapshotName $snapshotNameData -Snapshot $DataDiskSnapshotConfig -ErrorAction Stop $snapshotNameData = "$($datadisk.name)_snapshot_$(Get-Date -Format ddMMyy)" $DataDiskSnapshotConfig = New-AzSnapshotConfig -SourceUri $dataDisk.Id -CreateOption Copy -Location eastus Write-Output "VM $($vm.name) data Disk $($datadisk.Name) Snapshot Begin" $dataDisk = Get-AzDisk -ResourceGroupName $vm.ResourceGroupName -DiskName $datadisk $dataDisks = ($snapshotdisk.DataDisks).name Write-Output "VM $($vm.name) Data Disk Snapshots Begin" Write-Output "VM $($vm.name) OS Disk Snapshot End" $snapshotNameOS = "$($)_snapshot_$(Get-Date -Format ddMMyy)" $OSDiskSnapshotConfig = New-AzSnapshotConfig -SourceUri $ -CreateOption Copy -Location eastus -OsType Windows Write-Output "VM $($vm.name) OS Disk Snapshot Begin" $vm = get-azvm -Name $VmName -ResourceGroupName $VmResourceGroup VM tamops-vm data Disk datadisk2 Snapshot End Id : /subscriptions/xxxx-xxx-xxxxxxxxx/resourceGroups/tamops-snapshots/providers/Microsoft.Compute/snapshots/datadisk2_s VM tamops-vm data Disk datadisk2 Snapshot Begin VM tamops-vm data Disk datadisk1 Snapshot End Id : /subscriptions/xxxx-xxx-xxxxxxxxx/resourceGroups/tamops-snapshots/providers/Microsoft.Compute/snapshots/datadisk1_s Sku : .Models.SnapshotSkuĬreationData : .Models.CreationData VM tamops-vm data Disk datadisk1 Snapshot Begin






Snapshot hdd