I have important files that I want backed up, and I believe that I'm after RAID0.
If that's not correct please don't hesitate to advise me otherwise.
That is not correct.
Please read this canonical post on RAID levels on our sister site.
The brief answer is:
- You are after RAID 1 (mirror).
- RAID 0 is the unsafest thing there is.
- RAID does not replace a backup.
Lets expand on the last. RAID 1 (mirror) (or any RAID level other than 0) will help you recover from a failed disk. It will not help you in case of a fire, theft, or similar disasters. Therefor the mantra is The only good backup is an off-site backup.
RAID can (and will) help to keep your files safe during backups.
In professional IT settings RAID is often used to keep the server running until 5 PM after a disk has failed. After that (and outside office hours) emergency maintenance can be performed. It does not replace backups.
I have absolutely no idea how to do this,
In Linux you probably want to use
Can I do this from command line?
Yes, you can do this from the command line, in several ways.
Assuming your drives are empty (with no data on it which you want to keep):
- Partition the drives with filesystem FD (RAID autodetect)
- `mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sdd1 /dev/sde1
You now have a new virtual disk called
/dev/md1. Anything you write to it will be written to both disks, thus keeping your data safer. Partition that as you would normally partition a disk.
If you do not have enough space to start with two clean drives, but enough space to start with a single empty drive then you can create the array using the
missing parameter, copy the data to it and then add the second drive. If this is the case then please add that to the OP.