kompact
Cadet
- Joined
- Feb 6, 2017
- Messages
- 3
Hello all! This is my first post, so please bare with me. I have tried googling and searching this forum and FreeBSD documentation as much as I could and I got quite far, but sometimes that doesn't really help grasp a concept.
Anyway, here's what I'm trying to do:
I have a 4TB mirrored Volume (2x WD Red) and a 4TB striped Volume (1x WD Green). The mirrored volume called "kompact_nas" will be my primary "working" storage and I'd like to clone it regularly to the striped volume called "kompact_backup".
On kompact_nas, I have created 3 datasets, 2 of them shared via SMB and one via AFP for timemachine backup.
I tried copying the whole thing from kompact_nas to kompact_backup with the following rsync command:
rsync -avxPHAXW -h /mnt/kompact_nas /mnt/kompact_backup
This didn't really copy anything as far as I'm concerned, so I went ahead and started copying one of the datasets instead, like this:
rsync -avxPHAXW -h /mnt/kompact_nas/Time\ Machine /mnt/kompact_backup/Time\ Machine
I repeated the process with the remaining datasets and it seemed to work. I even browsed some directories on the copied volume to make sure the files are there, which they are.
So my questions are:
Am I doing this right, or is there a right way to do this?
Will I be able to recover my volume from a backup like this?
Specifically, I'd like to know if I have to create the corresponding datasets on /mnt/kompact_backup first, so I can also see them in the "Storage" section, or is the rsync I did enough?
And finally: would there be an easier way to rsync the whole volume without having to start the process again for 3 separate datasets?
I hope this makes sense at all and I'm looking forward to your responses! Thanks! :)
Anyway, here's what I'm trying to do:
I have a 4TB mirrored Volume (2x WD Red) and a 4TB striped Volume (1x WD Green). The mirrored volume called "kompact_nas" will be my primary "working" storage and I'd like to clone it regularly to the striped volume called "kompact_backup".
On kompact_nas, I have created 3 datasets, 2 of them shared via SMB and one via AFP for timemachine backup.
I tried copying the whole thing from kompact_nas to kompact_backup with the following rsync command:
rsync -avxPHAXW -h /mnt/kompact_nas /mnt/kompact_backup
This didn't really copy anything as far as I'm concerned, so I went ahead and started copying one of the datasets instead, like this:
rsync -avxPHAXW -h /mnt/kompact_nas/Time\ Machine /mnt/kompact_backup/Time\ Machine
I repeated the process with the remaining datasets and it seemed to work. I even browsed some directories on the copied volume to make sure the files are there, which they are.
So my questions are:
Am I doing this right, or is there a right way to do this?
Will I be able to recover my volume from a backup like this?
Specifically, I'd like to know if I have to create the corresponding datasets on /mnt/kompact_backup first, so I can also see them in the "Storage" section, or is the rsync I did enough?
And finally: would there be an easier way to rsync the whole volume without having to start the process again for 3 separate datasets?
I hope this makes sense at all and I'm looking forward to your responses! Thanks! :)