My old NAS crashed and I don't want to use a Hardware RAID controller any more so I created my first server with Ubuntu Server 14.04 LTS. It's running on a SSD and stores my data on 2×3TB WD Red running in RAID1.
Everything is running fine so far, but I want to create a Backup script to manually mirror from the RAID1 to a third 3TB drive. This third drive won't be available all the time, hence the need for this to be manually run.
In Windows, I've done similar things with an application called RoboCopy. it has a
/mir option to do a 1:1 copy. That's what I'm aiming to do here, under Ubuntu.
I've been reading the Help for
rsync but I'm not sure I've found what I'm looking for yet. I've found a load of options but don't know whether they fit together. Is does the following look right? Are there better ways?
sudo rsync --delete -avv /data /backup
/backup are for my paths
I'm open to tips or alternatives to do the backup.
And does anyone know if my mechanical disks will spin down by default on Ubuntu Server 14.04? I don't want them to spin down so if that's the default, how can I stop it?