Then I deleted the Screensaver and MousePoint snapshots. Now Taskbar was the only snapshot left. As expected, it captured my changes to screensaver, mouse cursor, and taskbar. I powered down the VM and deleted the Taskbar snapshot. That left only Current State in the Snapshots pane. With that selected, I clicked Start. Now I saw that the VM had been changed.
It was no longer in its previous state. Instead, it contained the screensaver, mouse, and taskbar changes. This suggested a modification to the rule deduced previously. It was true that deleting an intermediate snapshot would mean that its changes would be saved only in its child snapshots.
It was also true that, if there were no further child snapshots, all changes after the last preceding snapshot would be lost. But when there were no preceding snapshots — when the snapshot being deleted was the last remaining snapshot — its changes would be saved back into the VM. In other words, if the last remaining snapshot was the StartPoint snapshot, which contained no changes, then deleting it would not change the VM.
But if the last remaining snapshot was one of the others, each of which did capture some changes to the VM, then deleting it would add its changes to the VM.
That, anyway, was what happened when I deleted all snapshots except the one containing the desired changes — in the preceding example, the Taskbar snapshot — and made it the Current State by selecting it and then clicking Restore , and then deleted it.
But would the same thing happen if I did not make Taskbar the Current State before deleting it? To test that, I made another clone of Clone and called it Clone U. This time, I did not immediately delete the StartPoint snapshot. Instead, I deleted the Screensaver and MousePoint snapshots.
Then I tried to delete the StartPoint snapshot. What this shows, IMHO, is that it is not that the machine keeps the last snapshot changes, actually. What it does is to keep the last Current State alive or valid. That means that it does not matter wich snapshot it comes from, the Current State is what rules.
If you have set a State as current, you probably can delete all snapshots and still keeping the changes you once stored in a snapshot that you converted into the current State. This was my first thought after you worked with clone Taskbar deletion and still got all the changes, From my point of view, you set Taskbar changes to be the Currnet State, despite the fate of the snapshots was. Apart from this, I have to applaud your sistematic approach and rigurous treatment.
Also your direct and clear style. Jash — thank you! With comments like that, I can only encourage you to read more of my stuff! You are commenting using your WordPress. You are commenting using your Google account. You are commenting using your Twitter account. You are commenting using your Facebook account. Notify me of new comments via email. Notify me of new posts via email. This site uses Akismet to reduce spam.
Learn how your comment data is processed. Email Address:. Follow via Email. RSS - Posts. Ray Woodcock's Latest. Skip to content. Home About This Blog. If I create multiple snapshots in a row and then decide to go back to the first how do I do this cleanly.
I know from above I can restore the first one I took before making changes using the restore feature. Once that is the current state can I then delete the others without them merging back into my base image or will they still merge back into it when deleted? Your email address will not be published. Notify me of follow-up comments by email. Notify me of new posts by email. This site uses Akismet to reduce spam.
Learn how your comment data is processed. Faiz 0. Take Snapshots. Name Snapshots. If you have been into virtualization for some time then you know how important snapshots can be when it comes to getting you out of a bind or for testing purposes.
But if you are new to the concept of virtual machines and what snapshots can do then it is definitely one of those topics you need to know about. And the best part is that its free to use for anyone and updated on a regular basis. The concept of a snapshot is to take a "picture" of a virtual machine at an exact point in time and then save that picture as a backup file that can then be restored so you can revert that VM to exactly the state it was in when you took the snapshot. So if you are going to do something like install some test software that might cause a problem with your operating system and maybe even make it unusable then you can take a snapshot first in case things go wrong and you need to go back to how things were before you installed the software.
The image below shows the state of a Windows VM with files and a folder on the desktop, programs pinned to the taskbar and the Microsoft Store and File Explorer open.
Notice that the time says as well. To take my snapshot I will go to the VirtualBox Manager , find the VM I want to take a snapshot of and then click on the 3 bars next to it and choose Snapshots. The basic idea of a snapshot is that you setup your virtual machine exactly how you want it, take a snapshot, and then you can make any changes you want. Taking a snapshot in VirtualBox is actually very easy, and when done can save massive amounts of time.
To get started open up your Virtual Machine and click on the Machine menu item, then select Take Snapshot…. Since we will be snapshotting a clean install you will need to give your snapshot an intuitive name and description to remember this. The purpose of reverting to a snapshot is so that you can go back in time to a particular state, in our case a clean state just after we installed the OS.
Since we can only do this when the virtual machine is not on, go ahead and shut it down. Then select your virtual machine from the list and switch over to the snapshots view. Here you will see a list of the various snapshots you may have taken. For most situations you are going to want to uncheck the option to create a snapshot of the virtual machine current state.
Now when you power on the virtual machine you will see the virtual machine quickly reverting itself. Always remember that without snapshots, recording the Geek School would be nearly impossible, so remember to use them and save yourself countless hours. Browse All iPhone Articles Browse All Mac Articles Do I need one?
Browse All Android Articles Browse All Smart Home Articles Customize the Taskbar in Windows Browse All Microsoft Office Articles
0コメント