2 SSD running in RAID, HDD as backup

pc4phil

Reputable
Mar 28, 2015
5
0
4,510
I currently have 1 SSD that isn't big enough, so I bought a 2nd SSD (500GB + 1TB). RAID 0 seems like the way to go, with failure as a major concern. So, I also bought a 3TB HDD to use primarily as a backup (and partition part of it to use as a regular drive occasionally). However, I don't want the HDD running all the time, only when it's being used as a backup drive, or when I need to access the partitioned drive (a main reason why I went with SSD is for the quiet factor, running the HDD all the time would defeat the purpose). What's the best way to go about this? I do have another/separate SSD for my Windows OS, which I won't touch for this extra storage. All this data is just files/images, not programs/games, etc. My goal is to have 1 "drive" for my files/images, not 2 (later down the road possibly 3 or 4) separate "drives", I would go crazy managing all of that.
 
Solution
Your best bet is to just mirror the SSD files onto a folder on the HDD. Consider running a command in Powershell

robocopy C:\ D:\C_Backup /COPYALL /B /SEC /MIR /R:0 /W:0

Where C is OS and D is backup drive. I haven't tested that command so you may need to add quotes to the source/destination etc.

Mattios

Honorable
Your best bet is to just mirror the SSD files onto a folder on the HDD. Consider running a command in Powershell

robocopy C:\ D:\C_Backup /COPYALL /B /SEC /MIR /R:0 /W:0

Where C is OS and D is backup drive. I haven't tested that command so you may need to add quotes to the source/destination etc.
 
Solution

pc4phil

Reputable
Mar 28, 2015
5
0
4,510
Thanks Mattios for the Powershell idea. Here is my full script, for others who would want to use it:


# Script Variables
$SourceFolder = "source folder here"
$DestinationFolder = "destination folder here"
$Logfile = "logfile location here"

# Email Variables
$From = "enter a from email here"
$To = "enter your to email here"
$Subject = "Robocopy Summary"
$Body = "Robocopy completed successfully. See attached log file for details"
$SMTPServer = "smtp.gmail.com"
$SMTPPort = "587"
$credentials = new-object Management.Automation.PSCredential “GmailUsernameWithoutThe@gmail.com”, (“EnterYourPasswordHere” | ConvertTo-SecureString -AsPlainText -Force)

#Script
robocopy $SourceFolder $DestinationFolder /E /R:1 /W:30 /LOG:$Logfile

# Email gmail log file
Send-MailMessage -From $From -to $To -Subject $Subject -Body $Body -SmtpServer $SMTPServer -port $SMTPPort -UseSsl -Credential $credentials -Attachments $Logfile
 

Mattios

Honorable
Looks good. I would recommend turning the W: down to something much lower, such as 2 or 3, in order to make your script run faster.

(For reference, W: means 'wait' for x seconds if the file cannot be accessed for whatever reason)