meta data stored in separate file?
Wayne Davison
wayned at samba.org
Tue Aug 9 20:48:33 GMT 2005
On Tue, Aug 09, 2005 at 12:52:43PM -0700, Joe Pruett wrote:
> has anyone else looked at storing meta data in a side file of some sort?
I recommend using a program such as fakeroot (when used with the -s
option to save the meta data) or pretendroot (which I haven't personally
used). For instance, either run something like this for a daemon setup:
fakeroot -s /path/fakeroot.data rsync --daemon --port=8873 \
--config=/path/rsyncd.conf
(Make sure that the real user that is running the daemon can write to
the lock file, the pid file, all the module paths, and any log file;
also, disable chroot and be sure to use an unprivileged port.)
Alternately, do something like this for a remote-shell-based copy:
rsync -av --rsync-path="fakeroot -s /path/fakeroot.data" \
/src/ host:/dest/
Either option will allow the remote rsync to save all the owner, group,
device, etc. info that the sending rsync provides.
..wayne..
More information about the rsync
mailing list