OT- Cross network copies/backup
Fairlight
fairlite at fairlite.com
Mon Nov 17 16:07:43 PST 2014
On Mon, Nov 17, 2014 at 06:08:51PM -0500, Seth thus spoke:
> Does anyone out there have or could write a cron script to copy over any
> files (from the WP directory structure) that have been modified to my other
> servers (2) nightly? I presume this would need to be done by tarring those
> files, uucp them over and then have a cron script on those servers to untar
> them?
>
> Perhaps there is a better way?
Let me introduce you to your new best friend, rsync.
There's a version for OSR6 at ftp.jpr.com. There are other versions for
OSR5 here: http://www.aljex.com/bkw/sco/
With CentOS and RH, you just `yum install rsync` and that's that.
The rest is left as an exercise to the reader.
mark->
--
Audio panton, cogito singularis.
More information about the Filepro-list
mailing list