2 ms·
So you deploy a new VM from a template, shut it down, take a backup and then restore that backup to your target node. Is all this done with IaC? Ansible? Even t
by INTPenis 4mo ago
So you deploy a new VM from a template, shut it down, take a backup and then restore that backup to your target node. Is all this done with IaC? Ansible? Even the backup part?
I haven't touched backups with Ansible yet.
- KetoManx64 4mo agoTypically I don't touch templates once I do their initial setup, just shut them down and take a backup (can be done using ansible through the PVE CLI) The backup restore and the VM startup is done through ansible > PVE CLI. I also have a testing VM that has a "CLEAN" snapshot that I restore to multiple times a day, using ansible > PVE CLI. Once the VM snapshot is restored I turn it back on as well using the PVE CLI
- INTPenis 4mo agoOh I see, your restore of template backup is actually how you deploy a new VM. Interesting!