WEBVTT

00:00.890 --> 00:07.730
Now that we created our virtual machines it's a really good idea to take snapshots of them a snapshot

00:07.760 --> 00:14.450
allows you to store the state of the current virtual machine so it allows you to go back in time or

00:14.450 --> 00:20.180
go forward to a certain state after you go back so you can think of it as bookmarks.

00:20.180 --> 00:25.760
For example now we can take snapshots of our fresh installation of the operating systems and in the

00:25.760 --> 00:32.180
future if we update or configure something or break something you can literally just go back to the

00:32.180 --> 00:38.420
fresh install or go back to factory settings if you want to call it then if you did something there

00:38.420 --> 00:43.820
and then you wanted to go back to your updated system then you can go back to the updated system as

00:43.820 --> 00:49.460
well so you can literally take a snapshot whenever you want to store the state of the machine and then

00:49.460 --> 00:52.820
you can go back and forth between these states.

00:53.040 --> 00:54.540
Now I'll show you how to do that.

00:54.540 --> 00:56.550
I have Kelly live next right here.

00:56.550 --> 01:00.270
The one that we installed and it's very easy to create a snapshot for it.

01:00.300 --> 01:08.800
All you have to do is just go on the snapshots here and click on the camera icon then it's going to

01:08.800 --> 01:10.620
ask you to call the snapshot something.

01:10.630 --> 01:17.340
So I'm just going to call it fresh install and I'm just gonna give it a description saying it's a fresh

01:17.340 --> 01:19.630
snapshot with no updates.

01:19.860 --> 01:24.120
It's always a good idea to give a good name and good description so that in the future you can actually

01:24.120 --> 01:26.640
remember what the snapshot stand for.

01:27.300 --> 01:34.280
So now that I'm done I'm just going to click on OK and now you can see that we have the current state.

01:34.330 --> 01:40.240
So whatever you do in here you can update you can install programs you can install libraries.

01:40.390 --> 01:44.860
And then if you break something or if you ever wanted to go back to the fresh install you can just come

01:44.860 --> 01:48.190
back click on the fresh install and restore.

01:48.190 --> 01:49.190
So let's see now.

01:49.210 --> 01:54.040
I'm just gonna go back to the details as normal and then we're gonna start our virtual machine.

01:54.100 --> 01:55.480
I'll just show you an example now

02:02.580 --> 02:09.790
so let me just create a new directory in here so let's imagine that you actually updated the system

02:09.790 --> 02:14.260
now in the future we're going to talk about updating the system and I'm going to tell you that when

02:14.260 --> 02:19.570
you update there is a good chance that some libraries some programs will not be as up to date as the

02:19.570 --> 02:21.280
libraries that will be installed.

02:21.280 --> 02:24.310
And then these programs may might start giving you issues.

02:24.310 --> 02:28.720
Now if you had the issues you can put them into discussion and then I'll help you with them but some

02:28.720 --> 02:34.020
cases I'll tell you that you need to go back or downgrade to the older version without the update.

02:34.030 --> 02:39.190
So all you'll have to do is just get back to the fresh installation to your refresh snapshot.

02:39.190 --> 02:44.230
So now just created the new file just to show you that once you actually go back everything will go

02:44.230 --> 02:48.090
back to the way it was before the changes that you made.

02:48.100 --> 02:49.360
So I'm just gonna turn off Carly

02:53.910 --> 02:59.720
and now if we go back to these snapshots you'll see that we have our current state.

02:59.730 --> 03:02.760
This state has been changed so it's a changed state.

03:02.760 --> 03:07.350
Now let's say that you updated and the update to our successful so often was broken and you are happy

03:07.350 --> 03:07.620
with it.

03:08.070 --> 03:13.440
So what you should do is you should just come in and click on the camera icon again to create another

03:13.440 --> 03:14.460
snapshot.

03:14.460 --> 03:20.950
And we're gonna call this one updated system and then you can just put the date if you want to.

03:21.120 --> 03:27.500
And then I'm just gonna put the description updated with no problems so I'm gonna click Okay.

03:29.570 --> 03:31.430
And you can see that we have two snapshots.

03:31.430 --> 03:33.530
We have the first one which is our fresh install.

03:34.100 --> 03:39.290
And then we updated our system and we have an updated snapshot of an updated system.

03:39.290 --> 03:44.510
So now let's say that after you updated and you thought everything is okay you are using the machine

03:44.510 --> 03:45.640
and you have problems.

03:45.680 --> 03:48.110
So you wanted to go back to the fresh installation.

03:48.110 --> 03:54.110
All you have to do is just click on the fresh install and you can see that the restart icon right here

03:54.140 --> 03:59.330
just click that and now it restored me to the fresh installation.

03:59.330 --> 04:05.030
So now if I start the candy machine you'll see that the new directory that we created will disappear

04:09.280 --> 04:13.600
now as you can see we're back to where we were without the new directory without anything.

04:13.600 --> 04:21.750
So we are actually back to the fresh installation of candy to when we actually took the snapshot.

04:21.760 --> 04:26.530
So now I'm gonna show you another example so let's say you went back in time and you went back to your

04:26.530 --> 04:32.860
fresh installation and then for some reason you wanted to go back to your updated state to see if you

04:32.860 --> 04:37.090
can fix the issue if I suggested the solution or if you're at the solution online and you want to go

04:37.090 --> 04:41.530
back and fix the issue that you had after the update or for any other reason maybe you just wanted to

04:41.530 --> 04:45.090
go back to a different state it wasn't an updates estate.

04:45.100 --> 04:46.750
I'm just given an example with the update.

04:47.260 --> 04:50.500
So if you want to go back to a future state you can still do that.

04:50.560 --> 04:57.340
So all you have to do is just again click on the updated click on the Restore and we don't want to create

04:57.370 --> 05:01.640
a new snapshot from the current state because the current state is the updated state.

05:01.750 --> 05:09.640
So we're going to restore this starting machine and you'll see that we'll be back to the updated state

05:09.820 --> 05:12.310
to where we had the new directory created.

05:12.310 --> 05:19.390
So we're actually going to go back in the future now and as you can see now we have our test directory.

05:19.470 --> 05:23.710
So we're back to the state where we updated the system.

05:24.030 --> 05:29.520
So again as you can see the snapshots can be really useful they can allow you to store bookmarks or

05:29.520 --> 05:34.350
states of the operating system so you can actually have different configurations and you can switch

05:34.350 --> 05:35.880
between them as you want.
