Page 1 of 1

Snapshots - what happens when I ...

Posted: 31. May 2009, 20:03
by dougedmunds
Here is my snapshot tree

Root
--- Snapshot 1
------ Current State (changed)

Given this tree, each entry has some action choices.
(right clicking shows them)

Please explain what happens if I pick each of these
(what the tree looks like after that, which branches
are removed, and which branch I end up on).

Root:
--- Discard Snapshot

Snapshot 1:
--- Discard Snapshot

Current State (changed):
--- Revert to Current Snapshot
--- Discard Current Snapshot and State

Re: Snapshots - what happens when I ...

Posted: 31. May 2009, 20:34
by Sasquatch
Discarding a snapshot will loose data, reverting a snapshot will merge it's data with the parent snapshot/VDI.

Re: Snapshots - what happens when I ...

Posted: 31. May 2009, 21:04
by dougedmunds
Let me ask my questions more clearly:

Assume for each questlon that I have not done any of the other 'clicks'.
The starting tree for each question is

Root
--- Snapshot 1
------ Current state (changed)

1. I am in Root and click "discard the snapshot". Now what does the tree look like?

2. I am in Snapshot 1 and click "discard the snapshot". Now what does the tree look like?

3. I am in Current state and click "Revert to Current Snapshot". Now what does the tree look like?

4. I am in Current state and click "Discard Current Snapshot and State". Now what does the tree look like?

Re: Snapshots - what happens when I ...

Posted: 31. May 2009, 21:14
by Sasquatch
1. You loose all changes since the creation of the snapshot.
2. Same as 1.
3. The snapshot gets merged with the base VDI, giving a clean snapshot which you can discard safely without loosing data.
4. All changes since the last save are lost, leaving you with just the base VDI and first snapshot. Possibly loosing the snapshot too.

You could have figured this out from my explanation in the previous post.