LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rsyncd.conf file module question (https://www.linuxquestions.org/questions/linux-software-2/rsyncd-conf-file-module-question-381447/)

bjones 11-09-2005 09:34 AM

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

amitsharma_26 11-26-2005 08:21 AM

Working example for your scenario with server & client side configurations is available here at ... http://www.amitsharma.linuxworld.com/how_to_rsync.htm

Please go thru this n if your further find any problems.. Do feedback.


All times are GMT -5. The time now is 06:45 PM.