1
00:00:00,000 --> 00:00:10,360
In this video, we'll talk about backup strategies.

2
00:00:10,360 --> 00:00:14,680
A backup is a copy of files, and you should make backups.

3
00:00:14,680 --> 00:00:20,200
A backup is a copy of files, and you should make backups in case anything is going wrong.

4
00:00:20,200 --> 00:00:25,840
A full backup is a backup strategy where you will make a copy of all files, but if you

5
00:00:25,840 --> 00:00:32,240
have lots of files, this may be very inefficient, because if you want to backup tebytes of files,

6
00:00:32,240 --> 00:00:35,180
that can take days in some cases.

7
00:00:35,180 --> 00:00:38,200
That is why there is the incremental backup.

8
00:00:38,200 --> 00:00:42,080
Incremental backup will only backup those files that have changed since the last backup,

9
00:00:42,080 --> 00:00:44,180
and this is much more efficient.

10
00:00:44,180 --> 00:00:47,040
The differential backup is another strategy.

11
00:00:47,040 --> 00:00:51,660
That's the backup of all files that have changed since the last full backup, and it is more

12
00:00:51,660 --> 00:00:55,480
efficient in a restore than an incremental backup.

13
00:00:55,480 --> 00:00:59,820
That is because in an incremental backup, if you make a full backup on Sunday, then

14
00:00:59,820 --> 00:01:04,120
you make a backup of the Monday files, the Tuesday files, the Wednesday files, and so

15
00:01:04,120 --> 00:01:07,239
on, on every single day.

16
00:01:07,239 --> 00:01:12,800
So if on Friday you need to restore your original state for Thursday because something has gone

17
00:01:12,800 --> 00:01:18,180
wrong, you need the Sunday full backup, and the Monday, Tuesday, Wednesday, and Thursday

18
00:01:18,180 --> 00:01:20,099
incremental backups.

19
00:01:20,099 --> 00:01:26,139
In a differential backup, the Thursday backup would have all changes since Sunday, and that

20
00:01:26,139 --> 00:01:30,940
is easier to restore, because then you would only need two backups.

21
00:01:30,940 --> 00:01:36,080
Alternatively to backups, you can also clone images, and that will make a one-on-one copy

22
00:01:36,080 --> 00:01:38,019
of a complete device.

23
00:01:38,019 --> 00:01:42,860
It's not really a backup, but it allows you to get back in case things go wrong.

24
00:01:42,860 --> 00:01:45,800
Or alternatively, snapshots can be used.

25
00:01:45,800 --> 00:01:50,320
For example, the LVM Volume Manager can make snapshots to freeze the current state of a

26
00:01:50,320 --> 00:01:51,919
file system.

27
00:01:51,919 --> 00:01:57,199
But don't mistake a snapshot for a backup, because a snapshot is always depending on

28
00:01:57,199 --> 00:01:59,040
the original volume.

29
00:01:59,040 --> 00:02:04,480
If something bad happens to the original volume, an LVM snapshot will not help you to get back

30
00:02:04,480 --> 00:02:05,800
to the original state.

