Clone this wiki locally
This code is pretty much the same for all mirror sites. Any dynamic
configuration is maintained by you, in a separate config file
Because the mirror content is (now) designed to be mirrored and identical across sites, the content is now in its own package.
rsync is the preferred method. See DownloadOptions for a full list of other options.
rsync -av email@example.com:stable/content/. /path/to/test-ipv6.example.com/. --delete --exclude site
Staying in sync
If you use rsync, and you want to automate keeping it current, you can do this in a cron job:
% crontab -e .. # Update the mirror site every hour, at 30 minutes past the hour. # Please pick any number besides 30 - spread the load out on the master server. 30 * * * * rsync firstname.lastname@example.org:stable/content/. /path/to/test-ipv6.example.com/. --exclude site -a -q --delete