[Bug 2375] Support (a la Gnu tar) for --directory DIR

samba-bugs at samba.org samba-bugs at samba.org
Tue Feb 22 18:46:28 GMT 2005


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





------- Additional Comments From e.maryniak at pobox.com  2005-02-22 11:46 -------
I see, but I'm still not sure (may be me).
With our current rsync setup, we have in /path/to/destdir (which is what
rsync://localhost:1873/backup/client/rsync/ points to) a nice and very handy
verbatim copy of the directory structure, like:

/path/to/destdir/usr/local/blackboard
/path/to/destdir/etc
/path/to/destdir/var/spool

including, most notably, the same permissions/ownerships of the top level dirs
(like /usr and /var) themselves (as compared to the source host). I like this,
because it means I can just simple mv such a dir to a thrashed server and worry
about perms/ownerships.
I may be missing something, but are you sure that:

echo "usr/local/blackboard" rsync -aRz --files-from=- /
rsync://localhost:1873/backup/client/rsync/

would accomplish the same? I tried it, but it does not transfer any (of the
changed) files... Please excuse me if I'm missing some subtle point.

-- 
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