samba-bugs at samba.org
2014-May-09  23:10 UTC
[Bug 10603] New: rsync between local folder and mounted nfs folder sometimes overwrites newer files
https://bugzilla.samba.org/show_bug.cgi?id=10603
           Summary: rsync between local folder and mounted nfs folder
                    sometimes overwrites newer files
           Product: rsync
           Version: 3.0.9
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: hipparchus2000 at gmail.com
         QAContact: rsync-qa at samba.org
Not sure of the core reason here but perhaps a network problem causes an
unhandled exception that allows rsync to think the older file should overwrite
the newer file.
My OS is Ubuntu 13.10
rsync 3.0.9 
command used is the same as in the man page.
rsync -avz src dest
Most of the time seemed to work fine, just occasionally not.
Unfortunately the "occasionally not" wiped a couple of days of email.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
samba-bugs at samba.org
2014-May-09  23:16 UTC
[Bug 10603] rsync between local folder and mounted nfs folder sometimes overwrites newer files
https://bugzilla.samba.org/show_bug.cgi?id=10603 --- Comment #1 from Kevin Korb <rsync at sanitarium.net> 2014-05-09 23:16:14 UTC --- It is supposed to do that unless you supply --update. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2014-May-09  23:16 UTC
[Bug 10603] rsync between local folder and mounted nfs folder sometimes overwrites newer files
https://bugzilla.samba.org/show_bug.cgi?id=10603 --- Comment #2 from Kevin Korb <rsync at sanitarium.net> 2014-05-09 23:16:41 UTC --- Oh, also, don't -z unless rsync is networking. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2014-May-10  05:59 UTC
[Bug 10603] rsync between local folder and mounted nfs folder sometimes overwrites newer files
https://bugzilla.samba.org/show_bug.cgi?id=10603
Wayne Davison <wayned at samba.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID
--- Comment #3 from Wayne Davison <wayned at samba.org> 2014-05-10
05:59:42 UTC ---
As noted earlier, the cited command should just copy everything, as it did.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
samba-bugs at samba.org
2014-May-10  08:29 UTC
[Bug 10603] rsync between local folder and mounted nfs folder sometimes overwrites newer files
https://bugzilla.samba.org/show_bug.cgi?id=10603
--- Comment #4 from Jeff Davies <hipparchus2000 at gmail.com> 2014-05-10
08:29:44 UTC ---
Of course. For some reason I thought -a included -u behaviour.
Perhaps suggest adding -u to the example on the man page? I know it isn't
wrong, but may be more what people want to do?
     "....ing commands copies the files in the same way, including their 
setting
     of the attributes of /dest/foo:
              rsync -av /src/foo /dest
              rsync -av /src/foo/ /dest/foo   "
I know the -z doesn't do anything in filesystem to filesystem.
Thanks folks.
-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Apparently Analagous Threads
- [Bug 12378] New: why i cannot exclude dir/files if using option "--files-from"
- [Bug 9770] New: Preserving ownership and permissions does not work
- [Bug 8020] New: --acls does not honor --numeric-ids if UIDs do not match
- [Bug 11423] New: rsync 3.1.x is creating empty backup directories
- [Bug 11544] New: doesn't copy files starting with "." in the current directory