LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   rsync 2.6.3 v. 28 win32 & linux (https://www.linuxquestions.org/questions/linux-networking-3/rsync-2-6-3-v-28-win32-and-linux-273968/)

jgolden 01-04-2005 10:16 PM

rsync 2.6.3 v. 28 win32 & linux
 
I have recently installed rsync on my XP box and Redhat box. Connectivity works and files transfer down to the Linux box. My problem is when I delete a file in the sync folder on my XP box, it does not delete it on ny Linux box.

Here is my command from the XP box.

rsync --delete --verbose --progress --stats --times -e "ssh.exe -i cwrsync" -az /cygdrive/c/ghost/* domainname.com:backup

Here is my rsyncd.conf file on the Linux box.

motd file = /etc/rsyncd.motd
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
lock file = /var/run/rsync.lock
hosts allow = x.x.x.x
#strict modes = true

[home]
path = /backup
comment = /home/jgolden backup folder
read only = false
transfer logging = true
log file = /home/jgolden/backup/backup.log


Any help would be greatly appreciated.

Thank you,

Joel Golden

david_ross 01-05-2005 02:51 PM

Try running the same command but add "-vv" as well, this will give you more verbose debugging messages that may show a problem.

jgolden 01-05-2005 02:56 PM

Fix
 
rsync --delete --verbose --progress --stats --times -e "ssh.exe -i cwrsync" -az /cygdrive/c/ghost/* domainname.com:backup

The problem here is the wildcard in /cygdrive/c/ghost/*

Remove the * and rock-n-roll.

Joel


All times are GMT -5. The time now is 06:58 AM.