On Thu, 2008-09-25 at 14:58 -0600, RAY wrote: > 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 > [EMAIL PROTECTED]:/path/to/files
Check the examples at the top of the man page. You need a double colon to access an rsync daemon; a single colon indicates a remote shell. Matt -- 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