Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Got Cwrsync daemon working, but I am trying to set some variables in the rsyncd.conf file.

Posted on 2011-02-10
3
Medium Priority
?
823 Views
Last Modified: 2013-11-15
Got Cwrsync daemon working, but I am trying to set some variables in the rsyncd.conf file:  
here is my rsyncd.conf file:


use chroot = false
strict modes = false
hosts allow = *
log file = cygdrive/f/rsyncd.log
uid = 0
gid = 0

# Module definitions

[BackupArea]
path = /cygdrive/f/backup/test/%computerName% <---------- This is how I want it to work...
read only = false
transfer logging = yes

When I try to rsync I am getting this error:

@ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at main.c(1506) [sen
der=3.0.7]

Rsync daemon log states:

02/10 16:57:32 [280] rsync: chdir /cygdrive/f/backup/test/%computerName% failed
: No such file or directory

here is what I read in the rsncd.conf documentation:  
You may base the path's value off of an environment variable by surrounding the variable name with percent signs. You can even reference a variable that is set by rsync when the user connects. For example, this would use the authorizing user's name in the path:

    path = /home/%RSYNC_USER_NAME%

Any idea what this is not working?
0
Comment
Question by:Akostech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:Akostech
ID: 34871389
this was my old Rsync command before setting up a daemon:

rsync  -v -rlt --progress --stats --delete "/cygdrive/v/SHARE/" "jaxback02::u/%computername%/SHARE/" 1>>

This worked perfectly.  I can't get it to work with the new setup using a daemin
0
 

Author Comment

by:Akostech
ID: 34874922
no one has an answer on using Dynamic modules in my rsyncd.conf?
0
 
LVL 3

Accepted Solution

by:
klover earned 2000 total points
ID: 34991481
Switch to DeltaCopy!  http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp

It is a GUI wrapper for Rsync that will do what you are trying to accomplish.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
Curious about the latest ransomware attack? Check out our timeline of events surrounding the spread of this new virus along with tips on how to mitigate the damage.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question