Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Where is this file located when installed from the ffp package of rsync? I can't find it in /etc or /ffp/etc?
Do I have to create one?
Offline
As I recall, there is no default file, you have to create and populate it yourself.
Mine looks like:
host allow = 192.168.1.0/24
log file = /mnt/HD_a2/rsyncd.log
uid = root
gid = root
read only = no
[archive]
path = /mnt/HD_a2/Archive
[web]
path = /mnt/HD_a2/web
Offline
Where did you put yours? /etc or /ffp/etc?
Offline
/ffp/etc
But, you can put it wherever you want as long as you chnage the parameter in the rsyncd.sh startup script
rsync_flags="--daemon --config=/ffp/etc/rsyncd.conf"
Last edited by FunFiler (2010-10-06 04:39:42)
Offline
I read about the [sample_value] in the rsync doc, but I don't understand where it is used. So if I have:
[mybackup]
path = /mnt/HD_a2/backup
Does that mean I can use 'mybackup' as sort of a variable when calling that path? Does that make sense? I mean, I had no conf file so it was working without it. I'm just trying to understand the need for it.
Thanks for the help
Offline
Yes, if you look at my example above, I have a label named [archive]. I use that in a script where I do a bunch of stuff, but ultimately call rsync as follows:
/usr/bin/rsync -auv --delete --stats 192.168.1.40/archive //192.168.1.41/archive
This copies the files from .40 to .41 using the [archive] label.
If you want details on the syntax in rsyncd.conf, enter "rsyncd.conf" into google and you will see lots of info. For example http://www.samba.org/ftp/rsync/rsyncd.conf.html
Last edited by FunFiler (2010-10-07 04:09:19)
Offline