Snapshots - what happens when I ...

This is for discussing general topics about how to use VirtualBox.
Post Reply
dougedmunds
Posts: 2
Joined: 31. May 2009, 19:45
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows2000 ubuntu

Snapshots - what happens when I ...

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Snapshots - what happens when I ...

Post by Sasquatch »

Discarding a snapshot will loose data, reverting a snapshot will merge it's data with the parent snapshot/VDI.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
dougedmunds
Posts: 2
Joined: 31. May 2009, 19:45
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: windows2000 ubuntu

Re: Snapshots - what happens when I ...

Post 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?
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Snapshots - what happens when I ...

Post 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.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply