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
- is a tool to synchronize a local directory with the contents of a remote directory.
- 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.
- -a switches to archive mode (same timestamp, ...)
- -v (or -vv, -vvv) verbosity level, for the lovely logs
--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.