LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-09-2005, 09:34 AM   #1
bjones
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
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
 
Old 11-26-2005, 08:21 AM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about .conf file QPQ Linux - Wireless Networking 3 06-06-2005 08:09 AM
changing module.conf file PapaSmurf88 Linux - Hardware 2 05-12-2005 03:40 PM
Where is rsyncd.conf klemen Slackware 2 03-08-2005 09:14 AM
[FC2] How to write a modprobe.conf from a module.conf??? Coume Fedora 0 05-31-2004 03:40 AM
Question on ld.so.conf file... tarballed Linux - Software 2 09-01-2003 05:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration