Hello. My name is Dustin, and welcome to virtual ization and operating systems.
All right, now that we've got virtual box installed and our first guest machine added normally, what would like to do here is optimized our settings and install guest editions, which, if you remember, is designed to be installed in sight of the virtual machine. After you've got your gassed os installed
in the guest additions consistent device drivers system applications,
Um, that optimized the guest os for a better performance and usability things like your mouse pointer integration, shared folders, display settings. The resolution is correct. And it's not all messed up. And that shared clipboard
because we built our Callie machine from that O V A. It was built with guest editions already in there, so we don't have to worry about that now. Um, but we do have a nice, clean, uh oh s install, and we've updated it. So what we're gonna need to do now
is create a snapshot, and this will allow us to restore us to this clean version
in case anything happens along the way. So let's go ahead and hop back in our lab now
as you can see, this is the main screen when you start Oracle Virtual Box and here's R O V. A. I did rename it to Cali, Lennox O V. A clean, and we're going to click the little settings button right here.
And as you can see, you've got an option for snapshots. So there is nothing now, so let's go ahead and take a snapshot. It's pretty easy. Click the take
and we're going to name this
and then click okay
and boom! It saves that clean snapshot. So if anything happens, um, say something breaks or you're trying to update and something's miss configured, and you just can't get it to boot anymore or just completely broken. You don't want to spend the time fixing it. You go back to the settings snapshots,
and then here's our clean snapshot and you can click restore right from there.
Another thing you can do here is actually clone. So took loan. You just click the clone button
and you named the clone so you can name it whatever you want. Um, I usually just keep it the default, and we will do everything, and you could do a full cone or a link to clone. Typically, what you want to do is a full clone,
and you can just hit clone
and it will run through that. It does take a little bit of time. So I'm actually not going to do that right now, since this is just a kind of a lab one to play with,
but that will allow you to actually clone the full V m. And so if you're hard driver that anything dies, you can actually restore it from the, um the cloned VM.
So now that we've shown me how Thio take a snapshot, restore and clone with hopping R V M will make sure everything is up to date.
I mean, through this back on this screen, all rights, we can see what's going on. Open it up,
we will let it load.
And I'm just going to show you how the restoring from snapshots work. So we're just gonna create some files here?
Oops, that was usernames, Username, roots roo T
All right, so let's go ahead and move here,
and I'm just gonna create a file on the desktop that we can see that it's actually going to restore on that file shouldn't exist anymore. So let's if you take a P W D.
That is the print working directory that'll tell us where we're at
and we are on the route. So let's go ahead and change to the desktop.
We're just gonna create an empty file. You could do that by using the Touch Command, and we'll just name it and D
filed on 60.
All right, so you can see it did pop up right here on our desktop.
So let's go ahead exit as well. Open it up just to show you that it is just an empty file.
Empty file. Empty text document.
So let's go ahead and power off the machine.
Real power it off.
All right, so now what we'll do is we will actually restore from this clean snapshot.
So again, if you're at the means, things used the details, you click the VM that you'd like to restore from,
like the three settings button here and go to snapshots. And let's go ahead and restore from our clean snapshots. Who does give you a little warning, letting you know exactly what's going to happen? It will be
if you restore and you don't back it up pewter, you'll actually override it, Which is fine, since we didn't really do anything here. So let's unchecked that we're not gonna create another snapshot we're just going to restore directly from this clean one.
All right, so this should be restored.
So let's go ahead and double click it to start it
way are starting.
You can see actually up in the top that it is restored from that clean snapshot.
So let's go ahead. And logging
in that file should no longer be on our desktop, since he restored to a point before it was there.
And as you can see, it's no longer there. So snapshots, like I said, are really, really good. I like to create them if I know I'm gonna make any changes or do anything that may break it, that when you could just restore back to it. I don't have to go through all the troubleshooting steps and spend a lot of time to get that working again. I can just boom restore from the snapshot,
and I'm ready to go