Here's how I understand it (and the parts I don't):
To take a snapshot, which is easy enough:
Code: Select all
VBoxManage snapshot <guest> take <name> [-desc <description>]
To revert to the last snapshot taken:
Code: Select all
VBoxManage snapshot <guest> discardcurrent -state
Here's where I get muddy:
Code: Select all
VBoxManage snapshot <guest> discardcurrent -all
If I want to go back to a snapshot several snapshots ago I have to delete snapshots until the snapshot I want to revert to is the most recent, which honestly begs the question of why snapshot management is so rudimentary and I can't specify a specific snapshot by name? Still, that sounds more like a feature request than a request for information- unless I'm missing something.
What is really confusing is that the discard option doesn't work at all like expected. For example:
I have four snapshots, test1, test2, test3, and test4. I run:
Code: Select all
VBoxManage snapshot <guest> discard test2
I am using version 3.0.2r49928
Please explain for I feel very confused and a bit insecure about using snapshotting until I understand it better.