I am definitely a N00b to FreeNAS. I have set up a FreeNAS box with 1 volume using two 1tb drives in a mirror. Our practice with our previous file server was to use Grsync to run a daily backup to an external USB drive that was taken offsite each night using the following options:
rsync -r -n -t -p -g -v --progress --delete -u /home/CompanyShared/volume_b/ /media/AnselBU/volume_b/
Now I need to get the same plan set up on the FreeNAS system. So I have two needs:
1. How do I mount the USB drive so that I can eject it each night and then have it remount when I plug it in the next day? Currently it shows up in the list of drives as da5. Do I need to use the shell to mount the disk? If so, what is the command?
2. I'm assuming that once it is mounted I can use rsync to set up a job using similar settings to the ones we used previously. But it appears that you set up rsync differently in FreeNAS using modules. So I'm not quite sure how to replicate the command above into the module format.
Edit: I'm using FreeNAS 8.3.1
Thanks for your assistance,
Ron
rsync -r -n -t -p -g -v --progress --delete -u /home/CompanyShared/volume_b/ /media/AnselBU/volume_b/
Now I need to get the same plan set up on the FreeNAS system. So I have two needs:
1. How do I mount the USB drive so that I can eject it each night and then have it remount when I plug it in the next day? Currently it shows up in the list of drives as da5. Do I need to use the shell to mount the disk? If so, what is the command?
2. I'm assuming that once it is mounted I can use rsync to set up a job using similar settings to the ones we used previously. But it appears that you set up rsync differently in FreeNAS using modules. So I'm not quite sure how to replicate the command above into the module format.
Edit: I'm using FreeNAS 8.3.1
Thanks for your assistance,
Ron