automated Rsync to remote host, preserve owner
RAY
ray at stilltech.net
Thu Sep 25 20:58:39 GMT 2008
Hello all,
I'm trying to set up a backup server using rsync.
I would prefer to push data from one server to another, automated through a
cron job. It is quite important to preserve the owner/group and permissions.
google and the archives haven't gotten me very far.
the two servers each have a seperate IP address, but they also have access to
the same private, trusted LAN.
I'm having trouble figuring out how to set this up.
Each server is freebsd 7.0
I haven't quit figured this out, but this is what I think so far:
setup rsync daemon using inetd on the receiving end so that it only listens on
192.168.*.*. Set uid and gid to root in rsyncd.conf
and then on the sending end issue the command (through cron)
rsync -arlpogtUH --delete-delay --password-file /path/to/pass /path/to/files
user at example.com:/path/to/files
This isn't working yet, so any help would be very much appreciated
Ray
More information about the rsync
mailing list