Processing Math: Done
jsMath

Sage Mirror Network

This is a collection of notes on how the mirror network of Sage operates and some howto on how a mirror is setup. This might be of interest outside Sage, too.

RSYNC

rsync

  1. is a tool to synchronize a local directory with the contents of a remote directory.
  2. is a server, that provides access to local directories to exchange data using the rsync protocol.

To synchronize with Sage's master, you can use this command:

rsync -av --delete-after sage.math.washington.edu::sage $TARGET

where $TARGET should be replaced by your local target directory.

  1. -a switches to archive mode (same timestamp, ...)
  2. -v (or -vv, -vvv) verbosity level, for the lovely logs
  3. --delete-after tells rsync to delete files that are not on the master after the synchronization has finished. There are also other versions of --delete* that can be used to delete older files earlier or during the process.