DO NOT REPLY [Bug 5792] New: rsync fails to log files "sent" with
options: --itemize-changes -n --log-file
samba-bugs at samba.org
samba-bugs at samba.org
Wed Sep 24 16:38:11 GMT 2008
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: wayned at samba.org
ReportedBy: denis.laplante at ubc.ca
QAContact: rsync-qa at samba.org
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.
More information about the rsync
mailing list