Oko
Contributor
- Joined
- Nov 30, 2013
- Messages
- 132
I am using rsync to backup one of my FreeNAS 9.2.1.9 boxes due to the frequent crashes of the target machine caused by
ZFS replication. It turns out that crashes are caused by faulty logic of the SAS back plane but that is another story.
Long story short. I have done initial rsync from FreeNAS box onto the remote host and I would like to use GUI now to set up rsync cron jobs. Little that I experimented with FreeNAS rsync module it seems to me that the module is not using trailing slash which is equivalent to
where ftp is defined in ryncd.conf
which in turn created another Documents directory so I ended up with
I actually would like to do
which will leave me with
only.
ZFS replication. It turns out that crashes are caused by faulty logic of the SAS back plane but that is another story.
Long story short. I have done initial rsync from FreeNAS box onto the remote host and I would like to use GUI now to set up rsync cron jobs. Little that I experimented with FreeNAS rsync module it seems to me that the module is not using trailing slash which is equivalent to
Code:
rsync /mnt/storage/Documents rsync://nobody@remotehost:873/ftp
where ftp is defined in ryncd.conf
Code:
uid = nobody gid = nobody use chroot = no max connections = 4 syslog facility = local5 [ftp] path = /data/Documents read only = no list = yes comment = data
which in turn created another Documents directory so I ended up with
Code:
/backups/Documents/Documents
I actually would like to do
Code:
rsync /mnt/storage/Documents/ rsync://nobody@remotehost:873/ftp
which will leave me with
Code:
/backups/Documents
only.