microsoft / MSLab

Azure Stack HCI, Windows 10 and Windows Server rapid lab deployment scripts
MIT License
1.18k stars 285 forks source link

Add backup procedure when running in Azure #441

Closed jjindrich closed 2 years ago

jjindrich commented 3 years ago

If you are provisioning VM in Azure, there is enabled Auto shutdown. But in case of shutdown, you loose complete deployment. It will be great to have scripts to "backup" deployment from D: drive to another persistent drive

jaromirk commented 3 years ago

IMHO you can simply copy MSLab folder to C: drive. Once you resume machine, just copy content back. But you would like to have it as shutdown script?

machv commented 3 years ago

Or we can add extra data drive and provision MSLab there? There are some VM sizes without temp disks anyway (e. g. Dv4). But that would increase cost.

jaromirk commented 3 years ago

Extra drive is slow (unfortunately). Often happens, that VMs refuse to domain join.