Simulating rdist?
rsync is great for syncing 2 directory trees, but I want to maintain a master source tree on one machine and copy that to multiple machines. i.e. basically what rdist does The only way I can see of doing this with rsync is to have multiple cron jobs 0 * * * * rsync ... machine1:... 0 * * * * rsync ... machine2:... ...and so on. Is there a more elegant/compact way of doing this? Thanks -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: Simulating rdist?
See the BATCH MODE section in the rsync 2.5.5 man page. It's stil pretty new and experimental, so it may not do what you want, but currently it's the best that rsync can do. - Dave Dykstra On Wed, Jan 01, 2003 at 04:39:06PM -, va_public [EMAIL PROTECTED] wrote: rsync is great for syncing 2 directory trees, but I want to maintain a master source tree on one machine and copy that to multiple machines. i.e. basically what rdist does The only way I can see of doing this with rsync is to have multiple cron jobs 0 * * * * rsync ... machine1:... 0 * * * * rsync ... machine2:... and so on. Is there a more elegant/compact way of doing this? Thanks -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: Simulating rdist?
--- Dave Dykstra [EMAIL PROTECTED] wrote: See the BATCH MODE section in the rsync 2.5.5 man page. It's stil pretty new and experimental, so it may not do what you want, but currently it's the best that rsync can do. I dont quite understand. The man page mentions that it creates 4 files with various rsync state information. How does this help me in propagating a src tree to N different machines? Thanks __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Re: Simulating rdist?
On Wed, Jan 01, 2003 at 06:09:53PM -0800, [EMAIL PROTECTED] wrote: --- Dave Dykstra [EMAIL PROTECTED] wrote: See the BATCH MODE section in the rsync 2.5.5 man page. It's stil pretty new and experimental, so it may not do what you want, but currently it's the best that rsync can do. I dont quite understand. The man page mentions that it creates 4 files with various rsync state information. How does this help me in propagating a src tree to N different machines? These 4 files can be used on the remote systems to update the target tree using the --read-batch option. This is more efficient because the transfer of the diff information can happen in parallel (e.g. using multicast filetransfer tools) and the source tree is only examined once instead of N times. Of course, this only works if the target trees are not changed in any other way than by using this method. -- Jos Backus _/ _/_/_/ Sunnyvale, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ jos at catnook.com_/_/ _/_/_/ require 'std/disclaimer' -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html