rsyncd.conf file module question
I have created an rsyncd.conf file with several modules in it. These modules represent the source and destination paths for the files that I wish to back up. The rsyncd.conf file is the same on the servers. What I cannot seem to figure out is the correct syntex to reference my source module (take files from here) and place them into my destination module (put files here). If I had a rsyncd.conf file that looked like this:
[src]
path = /local/whatever
comment = take files from here
[dest]
path = /dir/whatever
comment = place files here
if this file was on two servers running as Rsync servers how would if reference the modules. The man page says:
rsync [OPTION]... [USER@]HOST::SRC [DEST]
but when I enter in:
rsync -a username@host::src dest
rsync does not know where to place the files.
Any help would be greatly appreciated. I am a newbie
|