Hi all, So i have been trawling the forums and looking online for a guide to help me sync my data to another drive but i have come up stumped.
I have an HP Microserver and i am using 4x3tb WD red drives for my data in a RAIDZ1 array so i have one disk redundancy.
Currently i am using 1.8tb of space.
I have an additional 3tb wd red in a hotswap bay attatched to the microserver on the spare SATA port.
The 4x3tb drives are in a dataset called Data
The 1x3tb drive is in a dataset called Backup
I have set permissions on the Data dataset to User: guest and Group: guest
I have set permissions on the Data dataset to User: root and Group: wheel
What i would like to acheive is a monthly backup of my 'Data' dataset to my 'Backup' dataset. it should delete and then copy the files over.
I found a script that i was told to run within FreeNAS shell:
rsync -avrht --delete --stats /mnt/Data /mnt/Backup
This sadly didnt seem to work.
Can anyone help me out here?
I have an HP Microserver and i am using 4x3tb WD red drives for my data in a RAIDZ1 array so i have one disk redundancy.
Currently i am using 1.8tb of space.
I have an additional 3tb wd red in a hotswap bay attatched to the microserver on the spare SATA port.
The 4x3tb drives are in a dataset called Data
The 1x3tb drive is in a dataset called Backup
I have set permissions on the Data dataset to User: guest and Group: guest
I have set permissions on the Data dataset to User: root and Group: wheel
What i would like to acheive is a monthly backup of my 'Data' dataset to my 'Backup' dataset. it should delete and then copy the files over.
I found a script that i was told to run within FreeNAS shell:
rsync -avrht --delete --stats /mnt/Data /mnt/Backup
This sadly didnt seem to work.
Can anyone help me out here?