Dueling rsync scripts?

Greg Brooks gregb at west-third.com
Thu Jun 5 08:59:43 CDT 2008


Hi all, quick question.

Given an FTP server and directory tree on local machine X and an FTP server
on remote machine Y, I understand that a cron'd rsync script might be the
best way to keep changes on X mirrored up to Y. My questions:

* Can I mirror the script in reverse so that changes on machine Y propagate
back to X? (Perhaps running each script every other hour.)

* Every now and then, an extraordinary number of files need to be
transferred, so a script running once an hour (or whatever) could
conceivably bump into another instance of itself running. Issues?

For the curious, this is a temporary, partial workaround to my earlier
bandwidth issues. By keeping a directory of local files updated remotely, we
have the option of working on the files here [fast for us, miserable slow
for outsiders who may want to get at them and work on them] or having
freelancers work on them remotely [with faster access from our ISP-hosted
FTP site]. Since work on the files is binary -- either a freelancer will
work on them or we will, but not both -- having mirrored file trees seemed
the way to go.

Many thanks,
Greg

P.S. -- Congratulations to list member Nathan, who came and picked up the
giant retro server yesterday. Nathan, thanks for freeing up approx. 100
square feet in my living room!



More information about the Kclug mailing list