﻿1
00:00:00,890 --> 00:00:07,730
Now that we created our virtual machines it's a really good idea to take snapshots of them a snapshot

2
00:00:07,760 --> 00:00:14,450
allows you to store the state of the current virtual machine so it allows you to go back in time or

3
00:00:14,450 --> 00:00:20,180
go forward to a certain state after you go back so you can think of it as bookmarks.

4
00:00:20,180 --> 00:00:25,760
For example now we can take snapshots of our fresh installation of the operating systems and in the

5
00:00:25,760 --> 00:00:32,180
future if we update or configure something or break something you can literally just go back to the

6
00:00:32,180 --> 00:00:38,420
fresh install or go back to factory settings if you want to call it then if you did something there

7
00:00:38,420 --> 00:00:43,820
and then you wanted to go back to your updated system then you can go back to the updated system as

8
00:00:43,820 --> 00:00:49,460
well so you can literally take a snapshot whenever you want to store the state of the machine and then

9
00:00:49,460 --> 00:00:52,820
you can go back and forth between these states.

10
00:00:53,040 --> 00:00:54,540
Now I'll show you how to do that.

11
00:00:54,540 --> 00:00:56,550
I have Kelly live next right here.

12
00:00:56,550 --> 00:01:00,270
The one that we installed and it's very easy to create a snapshot for it.

13
00:01:00,300 --> 00: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

14
00:01:08,800 --> 00:01:10,620
ask you to call the snapshot something.

15
00:01:10,630 --> 00: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

16
00:01:17,340 --> 00:01:19,630
snapshot with no updates.

17
00:01:19,860 --> 00: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

18
00:01:24,120 --> 00:01:26,640
remember what the snapshot stand for.

19
00:01:27,300 --> 00: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.

20
00:01:34,330 --> 00:01:40,240
So whatever you do in here you can update you can install programs you can install libraries.

21
00:01:40,390 --> 00: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

22
00:01:44,860 --> 00:01:48,190
back click on the fresh install and restore.

23
00:01:48,190 --> 00:01:49,190
So let's see now.

24
00:01:49,210 --> 00:01:54,040
I'm just gonna go back to the details as normal and then we're gonna start our virtual machine.

25
00:01:54,100 --> 00:01:55,480
I'll just show you an example now

26
00:02:02,580 --> 00:02:09,790
so let me just create a new directory in here so let's imagine that you actually updated the system

27
00:02:09,790 --> 00: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

28
00:02:14,260 --> 00:02:19,570
you update there is a good chance that some libraries some programs will not be as up to date as the

29
00:02:19,570 --> 00:02:21,280
libraries that will be installed.

30
00:02:21,280 --> 00:02:24,310
And then these programs may might start giving you issues.

31
00:02:24,310 --> 00: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

32
00:02:28,720 --> 00:02:34,020
cases I'll tell you that you need to go back or downgrade to the older version without the update.

33
00:02:34,030 --> 00:02:39,190
So all you'll have to do is just get back to the fresh installation to your refresh snapshot.

34
00:02:39,190 --> 00:02:44,230
So now just created the new file just to show you that once you actually go back everything will go

35
00:02:44,230 --> 00:02:48,090
back to the way it was before the changes that you made.

36
00:02:48,100 --> 00:02:49,360
So I'm just gonna turn off Carly

37
00:02:53,910 --> 00:02:59,720
and now if we go back to these snapshots you'll see that we have our current state.

38
00:02:59,730 --> 00:03:02,760
This state has been changed so it's a changed state.

39
00:03:02,760 --> 00:03:07,350
Now let's say that you updated and the update to our successful so often was broken and you are happy

40
00:03:07,350 --> 00:03:07,620
with it.

41
00:03:08,070 --> 00:03:13,440
So what you should do is you should just come in and click on the camera icon again to create another

42
00:03:13,440 --> 00:03:14,460
snapshot.

43
00:03:14,460 --> 00:03:20,950
And we're gonna call this one updated system and then you can just put the date if you want to.

44
00:03:21,120 --> 00:03:27,500
And then I'm just gonna put the description updated with no problems so I'm gonna click Okay.

45
00:03:29,570 --> 00:03:31,430
And you can see that we have two snapshots.

46
00:03:31,430 --> 00:03:33,530
We have the first one which is our fresh install.

47
00:03:34,100 --> 00:03:39,290
And then we updated our system and we have an updated snapshot of an updated system.

48
00:03:39,290 --> 00:03:44,510
So now let's say that after you updated and you thought everything is okay you are using the machine

49
00:03:44,510 --> 00:03:45,640
and you have problems.

50
00:03:45,680 --> 00:03:48,110
So you wanted to go back to the fresh installation.

51
00:03:48,110 --> 00: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

52
00:03:54,140 --> 00:03:59,330
just click that and now it restored me to the fresh installation.

53
00:03:59,330 --> 00:04:05,030
So now if I start the candy machine you'll see that the new directory that we created will disappear

54
00:04:09,280 --> 00:04:13,600
now as you can see we're back to where we were without the new directory without anything.

55
00:04:13,600 --> 00:04:21,750
So we are actually back to the fresh installation of candy to when we actually took the snapshot.

56
00:04:21,760 --> 00: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

57
00:04:26,530 --> 00:04:32,860
fresh installation and then for some reason you wanted to go back to your updated state to see if you

58
00:04:32,860 --> 00: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

59
00:04:37,090 --> 00:04:41,530
back and fix the issue that you had after the update or for any other reason maybe you just wanted to

60
00:04:41,530 --> 00:04:45,090
go back to a different state it wasn't an updates estate.

61
00:04:45,100 --> 00:04:46,750
I'm just given an example with the update.

62
00:04:47,260 --> 00:04:50,500
So if you want to go back to a future state you can still do that.

63
00:04:50,560 --> 00: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

64
00:04:57,370 --> 00:05:01,640
a new snapshot from the current state because the current state is the updated state.

65
00:05:01,750 --> 00: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

66
00:05:09,820 --> 00:05:12,310
to where we had the new directory created.

67
00:05:12,310 --> 00: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.

68
00:05:19,470 --> 00:05:23,710
So we're back to the state where we updated the system.

69
00:05:24,030 --> 00:05:29,520
So again as you can see the snapshots can be really useful they can allow you to store bookmarks or

70
00:05:29,520 --> 00:05:34,350
states of the operating system so you can actually have different configurations and you can switch

71
00:05:34,350 --> 00:05:35,880
between them as you want.

