delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=0.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Date: | Fri, 16 Oct 2009 13:51:29 -0700 |
Message-ID: | <2bbbac860910161351s276fe178h98b9d6689808c50@mail.gmail.com> |
Subject: | Rsync link-dest not working for a host with the most recent rsync/cygwin 1.7 |
From: | Chris Francy <francyci AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
It appears something about the about rsync or the 1.7 version of cygwin is preventing the --link-destination function of rsync from working. Files that have not been changed at all should be linked together. On the hosts still running a cygwin 1.5 version of rsync the link-destination seems to work exactly as I expect it to. I am using dirvish (http://www.dirvish.org/) on a Linux box (deb 5.0.3) to backup some of the data on windows boxes in the network. I have the cygwin+rsync setup in daemon mode on the servers. I recently upgraded a couple of the boxes to the latest cygwin 1.7. On the systems with cygwin 1.5 files are occasionally missed because of the path length limitations so I really want to get a cygwin 1.7 setup working. This is the command that is being issued by dirvish to perform the backup. rsync -vrltH --delete -pgo --stats -z -D --numeric-ids --timeout=300 --exclude-from=/srv/dirvish/srv-01/2009101610/exclude --link-dest=/srv/dirvish/srv-01/2009101420/tree 10.2.35.241::data/ /srv/dirvish/srv-01/2009101610/tree Here is the checksums and the output of stat of two files on my Linux box that I should have been linked together. No changes where made to this file on the windows box between the first and second backups. root AT pabil:# sha256sum 2009101420/tree/staff/Supply\ letter\ preschool.doc 2009101610/tree/staff/Supply\ letter\ preschool.doc 35cac3b2f0a54199da06c7ffdd5addf8634fa1d0829c11be8af037cf5572ddd1 2009101420/tree/staff/Supply letter preschool.doc 35cac3b2f0a54199da06c7ffdd5addf8634fa1d0829c11be8af037cf5572ddd1 2009101610/tree/staff/Supply letter preschool.doc root AT pabil:# stat 2009101420/tree/staff/Supply\ letter\ preschool.doc 2009101610/tree/staff/Supply\ letter\ preschool.doc File: `2009101420/tree/staff/Supply letter preschool.doc' Size: 22016 Blocks: 48 IO Block: 4096 regular file Device: fd02h/64770d Inode: 12042401 Links: 1 Access: (0700/-rwx------) Uid: ( 544/ UNKNOWN) Gid: ( 0/ root) Access: 2009-10-14 20:50:32.000000000 -0700 Modify: 2005-08-26 13:58:39.000000000 -0700 Change: 2009-10-14 20:50:32.000000000 -0700 File: `2009101610/tree/staff/Supply letter preschool.doc' Size: 22016 Blocks: 48 IO Block: 4096 regular file Device: fd02h/64770d Inode: 29475538 Links: 1 Access: (0700/-rwx------) Uid: ( 544/ UNKNOWN) Gid: ( 0/ root) Access: 2009-10-16 10:51:06.000000000 -0700 Modify: 2005-08-26 13:58:39.000000000 -0700 Change: 2009-10-16 10:51:06.000000000 -0700 I have posted the output of 'cygcheck -s -v -r' here (http://pastebin.com/m68d01c02). I would appreciate some help getting the --list-dest to work properly. If you have some ideas please share. If you need more information to help diagnose or find a solution please ask. Thanks, Chris Francy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |