Mirrors Mirror HOWTO

Mirror HOW-TO

We welcome new cAos mirror sites to add to our growing list.

If you are thinking of setting up a mirror site for cAos, please follow these guidelines to make sure that your mirror is consistent with the other mirror sites.

As a first step if you are not already subscribed, subscribe to the caos-mirror mailing list http://lists.caosity.org/mailman/listinfo/caos-mirror.

Public mirrors should syncronize 2-4 times per day, and this should be run via cron. We highly recommend the use of lock files in your cron script so that you don’t spawn multiple connections which is hard on our servers, and on your mirror. If you don’t know how to do this, please ask the list.

The best way to mirror the site inside of a cron job is:

    rsync -aqzH --delete mirror.caosity.org::caosity /path/to/local/mirror/root

Please email the list when you’re all set up with your cron job and your initial sync is completed, and we will add you to our list of mirror sites.

Also please give all relevant URL’s (ftp/http/rsync/?) and we’ll include those, as well as how often you are synchronizing the master server. Tell us what city/state/country you are in, and what your bandwidth cap is. Also please give a name and link to the sponsoring organization so we can give proper credit.

Please alert the caos-mirror mailing list if anything about the server changes like location, available bandwidth, frequency of updates, etc.

We ask that Tier 3, personal or company intranet mirror sites please pick a Tier 1 or Tier 2 mirror rather than synchronizing directly from the master server. For the time being we’re not restricting the master server in order to help new mirror sites get online expediently but will re-examine this if the master site is overly used.