Using Snapshots for development purposes - martikainen87/Home-Automation GitHub Wiki
A good way of testing new things without messing up your installation is using snapshots, and if you want to run HA on a virtual machine I've found it very usefull since almost all guides are written for raspberry pi's running hassbian/jessie, which means that the scripts, packages etc will be different then for ubuntu. A snapshot gives you the possibility to test deployment numerous of times, a rollback is only a few seconds away.
The snapshot will be an exact copy of the server at the moment you take it, it will not reboot or change anything, neither will it shut down any services.
Right-click your VM in the vSphere client -> Snapshot -> Take Snapshot
Give it a name and description to keep track of your snapshots, I ended up with 13 snapshots doing my first installation
In the Task Pane of vSphere (bottom) you will se the status for the snapshot you just created, it will only take a few seconds depending on your hardware.
##Reverting to a snapshot
Right-click your VM -> Snapshot -> Snapshot Manager
Select the snapshot you want to revert back to and press go To