Are snapshots supposed to work like this?
Posted: 12. Aug 2009, 16:08
I was using the Snapshots feature to upgrade my Linux guest in case of something went bad I could discard the changes and go back to the previous state and something did went bad and when I decided to discard and go back to the previous state, it discarded more than it should.
Let's Say I don't have any snapshots and do the following steps:
Now I decide that I don't want FILE3 there and select Current state (changed) and press the button Discard Current Snapshot and State, my snapshot tree will now look like this:
And then I boot again into the guest... Now, what I would expect to happen was for FILE1 and FILE2 to be on the desktop, just like I created cause I just wanted to discard the changes done to SNAP3, I only wanted to get rid of FILE3. What happens instead, is that only FILE1 will be on the desktop, FILE2 was discarded too.
How is this possible? I discarded SNAP3, I only wanted to discard the changes done to that snapshot. SNAP2 was changed when I created FILE2 and should be saved with that state, instead, those changes were saved on SNAP3. I don't think this makes much sense...
I mean, to do what I wanted, I needed to do something like this:
Now, If I wanted to discard only FILE3, I would select Current state (changed) and press the button Discard Current Snapshot and State, this way, I would be in SNAP5, before creating FILE3 (what I wanted) and after creating FILE2 (also what I wanted).
Still, creating 2 snapshots, one before and one after just so I can discard new changes and keep the previous ones, I don't know, it just doesn't make much sense...
Do you agree or think I'm seeing this wrong?
Let's Say I don't have any snapshots and do the following steps:
- Create a snapshot named SNAP1.
- Boot into the guest and place a file on the desktop named FILE1.
- Create a snapshot named SNAP2.
- Boot into the guest and place a file on the desktop named FILE2.
- Create a snapshot named SNAP3.
- Boot into the guest and place a file on the desktop named FILE3.
Code: Select all
|--- SNAP1
|--- SNAP2
|--- SNAP3
|--- Current state (changed)Code: Select all
|--- SNAP1
|--- SNAP2
|--- Current stateHow is this possible? I discarded SNAP3, I only wanted to discard the changes done to that snapshot. SNAP2 was changed when I created FILE2 and should be saved with that state, instead, those changes were saved on SNAP3. I don't think this makes much sense...
I mean, to do what I wanted, I needed to do something like this:
Code: Select all
|--- SNAP1 (Before FILE1)
|--- SNAP2 (After FILE1)
|--- SNAP3 (Before FILE2)
|--- SNAP4 (After FILE2)
|--- SNAP5 (Before FILE3)
|--- SNAP6 (After FILE3)
|--- Current state (changed)Still, creating 2 snapshots, one before and one after just so I can discard new changes and keep the previous ones, I don't know, it just doesn't make much sense...
Do you agree or think I'm seeing this wrong?