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:
-
download and install rsync
-
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
-
add the above command to cron, so that it runs at lesat once a day
-
contact Marc G. Fournier once
the above steps are completed, letting him know:
- ftp:// URL, if applicable
- http:// URL, if applicable
|