<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div><font color="#333333">Got rsync daemon working, but I am trying to set some variables in the rsyncd.conf file: &nbsp;<br>

here is my rsyncd.conf file:<br>

<br>

<br>

use chroot = false<br>

strict modes = false<br>

hosts allow = *<br>

log file = cygdrive/f/rsyncd.log<br>

uid = 0<br>

gid = 0<br>

<br>

# Module definitions<br>

<br>

[BackupArea]<br>

path = /cygdrive/f/backup/test/%computerName% <b>&lt;---------- This is how I want it to work...<br>

</b>read only = false<br>

transfer logging = yes<br>

<br>

When I try to rsync I am getting this error:<br>

<br>

@ERROR: chdir failed<br>

rsync error: error starting client-server protocol (code 5) at main.c(1506) [sen<br>

der=3.0.7]<br>

<br>

Rsync daemon log states:<br>

<br>

02/10 16:57:32 [280] rsync: chdir /cygdrive/f/backup/test/%computerName% failed<br>

: No such file or directory<br>

<br>

here is what I read in the rsncd.conf documentation: &nbsp;<br>

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:<br>

<br>

&nbsp; &nbsp; path = /home/%RSYNC_USER_NAME%&nbsp;<br>

<br>

Any idea what this is not working?</font></div>
<div><font face="Calibri, sans-serif">&nbsp;</font></div>
<div><font face="Calibri, sans-serif">Can we use dynamic modules?&nbsp; </font></div>
<div><font face="Calibri, sans-serif">Set global parameters?</font></div>
<div><font face="Calibri, sans-serif">&nbsp;</font></div>
<div><font face="Calibri, sans-serif">I can do this outside of the rsync daemon.</font></div>
<div><font face="Calibri, sans-serif">&nbsp;</font></div>
<div><font face="Calibri, sans-serif" color="#17365D"><i><b>Chad Franks</b></i></font></div>
<div><font face="Calibri, sans-serif">Engineer, Network Services</font></div>
<div><font face="Calibri, sans-serif">Crowley Maritime Corp.</font></div>
<div><font face="Calibri, sans-serif">&nbsp;</font></div>
<div><font face="Calibri, sans-serif">&nbsp;</font></div>
<div><font face="Calibri, sans-serif">&nbsp;</font></div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div><font face="Calibri, sans-serif" size="2" color="#17365D"><i><b>Chad Franks</b></i></font></div>
<div><font face="Calibri, sans-serif" size="2">Engineer, Network Services</font></div>
<div><font face="Calibri, sans-serif" size="2">Crowley Maritime Corp.</font></div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
<div><font face="Calibri, sans-serif" size="2">&nbsp;</font></div>
</font>
</body>
</html>