★ wanayoo — archive 1999 http://postgresql.nextpath.com/howtomirror.htmlNouvelle recherche | Portail wanayoo
PostgreSQL Slonik
Home
Software
Info Central
Development
Helping Us
Latest News
 

How to be an Official Mirror

First off, anyone can mirror PostgreSQL. This document only details what is required to set yourself up in such a way as to be listed as being an official mirror...on that is listed on our front page

In order that it is easier for those mirroring to setup, we have a rsync server setup on our end. This allows us to exclude those files and directories which aren't required as part of the mirror. (ie. ht/Dig database files)

The other reason why we use rsync is because it allows us, at this end, to monitor the frequency of updates, so we know how accurate the site still is.

NOTE: your web server must support SSIs as .shtml files for the web mirror to work

So, what's involved in mirroring? Simple:

  1. download and install rsync
  2. rsync -avz --delete hub.org::[remote]/ [destination directory]
    Where [remote] can be one of:
    • postgresql ..... both ftp/www mirror
    • postgresql-www . www mirror only
    • postgresql-ftp . ftp mirror only
  3. add the above command to cron, so that it runs at lesat once a day
  4. contact Marc G. Fournier once the above steps are completed, letting him know:
    • ftp:// URL, if applicable
    • http:// URL, if applicable