Help with a backup solution
I have an idea for a backup solution, just like to see if it would actually work
Note: I'm looking for a non raid solution at the moment
Ideally I'd like to use my 2nd HDD as a full drive backup in case the 1st HDD dies. Then the 2nd one can replace the 1st.
So I was thinking if I first do a full drive clone to my 2nd HDD, then use rsync to keep it updated.
my 1st drive looks like this
If I have cloned the 2nd hdd, could I then mount each partition under say /backup. eg
/dev/sda5 7.8G 917M 6.5G 13% /
/dev/sda8 645G 1.4G 611G 1% /home
/dev/sda6 996M 35M 910M 4% /tmp
/dev/sda3 7.8G 3.9G 3.6G 52% /usr
/dev/sda2 9.7G 431M 8.8G 5% /var
/dev/sda1 122M 18M 98M 16% /boot
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sdb8 --> /backup/home
/dev/sdb6 --> /backup/tmp
/dev/sdb3 --> /backup/usr
If the main HDD ever dies then I could replace HDD2 with HDD1 and mount them as expected
/dev/sda8 --> /home
/dev/sda6 --> /tmp
/dev/sda3 --> /usr
Would this actually work?