How to sync two FreeNAS storage using rsync
FreeNAS supports rsync and that’s one of the most interesting feature of the operating system. rsync is a protocol for file synchronization and transfer, a really useful tool in a storage device.
In this tutorial we’ll see how to sync a dataset – a sort of folder – between two different FreeNAS devices. In our lab we used two virtual machines following this scheme:
- machine 01 is a file server with IP address 192.168.2.70
- machine 02 is a synced storage for business continuity purposes with IP address 192.168.2.75
The first machine will push (rsync client) data while the second one will pull (rsync server) them.