RAID and Data Backups

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
or

Already have an account? Sign In »

Time
8 hours 20 minutes
Difficulty
Beginner
CEU/CPE
8
Video Transcription
00:00
when it comes to providing redundancy for hard drives, the first thing you should think of is raid
00:05
redundant array of independent devices,
00:08
or you could hear independent disks.
00:10
Let's find another way.
00:11
The idea is, there's redundant array.
00:14
We have multiple disks acting as a single logical disk,
00:17
and it's usually for the purpose of redundancy.
00:20
That being said, the very first raid we look at Raid zero is not redundant.
00:25
If I ruled the world, I would call it a day.
00:28
It's an array of independent disks, but it's not redundant
00:32
without redundancy. What that means is, if one of your disks fails, you run the possibility of losing all your data
00:38
when Raid zero does is it takes two physical disks and uses a feature called Disk Striping.
00:44
If there's 24 kilobytes worth of data to be written to the desk, 12 kilobytes gets written to disk one and simultaneously. The other 12 kilobytes is written to Disk two.
00:54
You get a simultaneous right instead of a sequential right.
00:58
It saves time. It's a speed improvement.
01:00
Not only is it faster for writing, but it's also faster for reading because his data is being located on drive one or is being read on Drive one. It's being located on drive to
01:11
You get a performance boost, but because of the fact that it's not redundant is not really a great choice for most servers.
01:17
This would be good, however, on media streaming servers where we get that performance. But we don't really have the need for fault tolerance
01:23
if high availability is my need, Raid one.
01:26
What Raid one is is it's disk mirroring.
01:30
I have two discs, each one an exact replica of the other.
01:34
This provides really high availability, because if there is a failure of one of the disks, it's very easy and very quick to transfer over to the other.
01:42
You hardly have any down time at all.
01:44
Drawback. There is is I'll always lose half of my disk space.
01:48
By that, I mean, if I go out and buy 25 terabyte drives,
01:52
I have 10 terabytes of space.
01:55
Five terabytes is for redundancy, so I don't get to use that person.
01:59
That's kind of the one of the drawbacks to this marrying but really good redundancy.
02:04
Raid five disk striping with parity,
02:07
this takes a minimum of three physical disks
02:10
I have the striping, which gives me the speed improvement but also on each disk. Contains parody for another disk.
02:16
Ultimately of disco unveils parody on disc two can be used to rebuild the disk that's failed.
02:23
That being said, this is kind of a dicey process, and sometimes rebuilding the disk can actually cause data loss or disk failure.
02:30
It's not ideal.
02:32
Raid six is kind of coming around to replace Raid five.
02:36
Here we need for physical disks
02:38
by using for physical disks. Two discs are for fault tolerance so that as many as two drives can fail.
02:45
That's a little bit better of the redundancy
02:47
ray 10 or sometimes referred to as one plus zero. We said this striving
02:53
the stripes that isn't fault tolerant.
02:55
What if I'm near that shapes that to another set of disks.
02:59
That's what read tennis
03:00
that requires four physical disks as well.
03:04
Of course, half my Swiss would be used for fault. Tolerance
03:07
rate is always discussed on the exam.
03:09
Expect to get questions.
03:12
Expect to get a couple of performance based questions
03:15
that shall know thy raid.
03:16
Another hot topic is going to be backups because even though we have rate in place file corruption, malware can infect the entire raid array.
03:25
Ray doesn't really protect our data that way. We needed to be protected, so we back up our data.
03:30
There are multiple types of backups we can use.
03:34
There is a full and incremental a differential and a copy.
03:38
The full is the easiest to understand because a full backup backs everything.
03:42
Incremental backup backs up what's changed since the last backup of any kind.
03:46
We do a full backup on Sunday night.
03:49
We do an incremental on Monday. That backs up was changed in Sunday.
03:53
We do. Another incremental on Tuesday and backs up was changed since Monday.
03:58
An incremental Wednesday backs up, which changed since Tuesday.
04:00
This takes less time and back up.
04:02
However, in the event that we need to restore, we have to restore the full backup in each day's incremental.
04:09
That can take a little longer.
04:11
A differential backup backs up, which changed since the last full backup.
04:15
We do a full backup on Sunday.
04:16
Monday's incremental and backs up was changed since Tuesday,
04:20
Tuesday's incremental, which changed since Sunday,
04:23
Wednesday's incremental, which changed in Sunday.
04:26
This is going to give us a quicker restore because we have to restore the full backup and the most recent differential.
04:32
All this has to do in Windows environments with a little bit called the archive bit.
04:38
The archive bit is just a flag that pops up and says have changed.
04:42
I need to be backed up.
04:44
When you do a full backup, all the bids get reset.
04:46
That's just a way of acknowledging I've backed up everything.
04:49
Everything that needs to be backed up is backed up
04:53
on Monday as files start to change, those flags pop up.
04:57
We do an incremental Monday night, and that backs up everything for the day, and it clears the bits and signals that's taken care of.
05:02
Tuesday's new files are modified. The five pops back up
05:06
Tuesday's incremental backs up, which changed on Tuesday and clears the bits.
05:12
The differential backup is different from the other two because the differential bit backup does not clear the bit.
05:16
Which is exactly why Monday's files changed.
05:19
It backs up everything that's changed on Sunday. The bit isn't cleared.
05:24
This files pop up Tuesday. You have the things from Monday with flag set and you have the things from Tuesday.
05:30
We back up everything since the last full backup.
05:33
There's also a copy
05:34
with virtual machines. You can copy specific files or you could do a full backup.
05:40
This just does not reset the archive bid.
05:43
Also with virtualization, we now think about just reverting to snapshots.
05:46
Whatever a strategy is, we need to make sure that we have fault tolerance for our data as well as our hard drives.
Up Next
CompTIA Network+ (N10-007)

The Cybrary Network+ Certification course provides students with the knowledge and insight to perform entry-level network-related tasks and to serve as one portion of a balanced study effort required to pass the Network+ exam.

Instructed By