Question about using Raid 1 with 3 drives to make weekly backups of the array

gbenninger

Reputable
Apr 10, 2015
9
0
4,510
Raid 1 with drives A+B. Then week 1 I pull drive A rebuild it with drive C then the next week I remove drive B and replace it with A and rebuild it, week 3 remove C and replace with B and so on..

Now if I get hit with ransomware I can restore the array with the 3rd drive right?
 
Solution
Okay. Rather than RAID, I would suggest creating a quick script to duplicate the drives. For example:

create backup.ps1 file
add 'robocopy "D:\" "E:\" /MIR /R:2 /W:1 /XJ' (without quotes at the start and end)

/MIR clones the drive contents
/R:2 says to retry files that it fails to open twice
/W:1 waits one second between retries
/XJ stops a known bug from occurring.

Change D:\ to the drive you want copied, and E:\ to the drive you're copying to. Do this once a week and unplug the drive between goes so if your computer gets hit, the backup drive doesn't.

If you want any help with the above script then let me know. :)

Mattios

Honorable
Yes that is possible. However,

1) just get a good antivirus program and avoid ransomware
2) backup to an external drive, save swapping out a physical each week
3) there is a small chance the drive B will fail when you try to rebuild it on to C
 

gbenninger

Reputable
Apr 10, 2015
9
0
4,510
Thanks for the response.

I run multiple layers of security. Avast, Malewarebytes, Zone Alarm but we're talking windows here which is a sieve. Out-of-band security dictates something outside the box and I just can't bring myself to use the cloud for my data. I have multiple bays and swapping out a drive is easy enough. I want something systematic which is easy to follow and doesn't take very long to complete per session.

If I get hijacked I want to be able to replace the drive(s) and just keep going without a hiccup or having to restore from multiple volumes. Basically a working backup.
 

Mattios

Honorable
Okay. Rather than RAID, I would suggest creating a quick script to duplicate the drives. For example:

create backup.ps1 file
add 'robocopy "D:\" "E:\" /MIR /R:2 /W:1 /XJ' (without quotes at the start and end)

/MIR clones the drive contents
/R:2 says to retry files that it fails to open twice
/W:1 waits one second between retries
/XJ stops a known bug from occurring.

Change D:\ to the drive you want copied, and E:\ to the drive you're copying to. Do this once a week and unplug the drive between goes so if your computer gets hit, the backup drive doesn't.

If you want any help with the above script then let me know. :)
 
Solution