Hi.
'rsync' is probably the tool of choice if you want to do occasional backups. It'll still take a while, but should be significantly less than doing a dd from one drive to the other.
You'll have to partition the spare drive to have the same partitions as the original drive, then mount each partition where it would normally be mounted, but with the spare root partition in a directory, e.g.
Original:
Spare:
Code:
/backup <- /
/backup/var <- /var
/backup/home <- /home
(change to suit your filesystem layout, of course)
Then do 'rsync -av / /backup' to sync everything.
You'll have to copy the MBR from the original drive onto the spare too, though, with 'dd if=/dev/hdX of=/dev/hdY count=1 bs=512' where hdX is the original drive and hdY is the spare.
Be extremely careful with both commands. Get either wrong and you'll hose the system.
You might want to just RAID 1 the two drives with 'md' (or with hardware(ish) RAID, if your motherboard can do that). That will keep both drives synced, and you'll (probably) gain read speed too. Does mean both drives will be running all the time, though.
Dave