https://bugzilla.samba.org/show_bug.cgi?id=5792

           Summary: rsync fails to log files "sent" with options: --itemize-
                    changes -n --log-file
           Product: rsync
           Version: 3.0.2
          Platform: PPC
        OS/Version: Mac OS X
            Status: NEW
          Severity: minor
          Priority: P3
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


I find a discrepancy between screen output and log file output when running
rsync (version 3.0.2 via macports on MacOsX-10.4 PPC) in dry-run mode.
I find no discrepancy when I omit the "-n" option.  The screen listing seems
correct with/without "-n", as well as files copied.

/opt/local/bin/rsync -n -i --stats -aES -x --exclude-from ${EXCL_FILE}
--log-file=${LOG_FILE} / /Volumes/${BACKUP_DISK}

Missing from the LOG_FILE copy are all the files that would have been sent
(prefixed with ">").
Below are 6 consecutive lines from screen output of above command - only the
last line appears in ${LOG_FILE}:

>f+++++++++ .hotfiles.btree
>f..t...... .Spotlight-V100/.journalHistoryLog
>f..t...... .Spotlight-V100/.store.db
>f..t...... .Spotlight-V100/ContentIndex.db
>f..t...... .Spotlight-V100/store.db
.d..t...... Library/Caches/

This combination of options is important to me while debugging a script to
backup my system.  I next plan to use the MacOsX "bless" command on the backup
filesystem to make it bootable.  Note that the latest MacOsX-10.5 supplies
version 2.6.9 (2006) of rsync, which is unsuitable for Mac "resource forks" in
incremental mode and lacks bug fixes and useful features.

VERSION: /opt/local/bin/rsync --version
rsync  version 3.0.2  protocol version 30
Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 32-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, no symtimes

Not tested on any other hardware or software.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to