Author: poeml Date: Thu Oct 8 11:02:26 2009 New Revision: 7836 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7836&view=rev Log: docs/mirrors: add section about enabling/disabling mirrors Modified: trunk/docs/mirrors.rst Modified: trunk/docs/mirrors.rst URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/docs/mirrors.rst?rev=7836&r1=7835&r2=7836&view=diff ============================================================================== --- trunk/docs/mirrors.rst (original) +++ trunk/docs/mirrors.rst Thu Oct 8 11:02:26 2009 @@ -136,6 +136,40 @@ incremental changes are often needed to get the data right, there is a command to edit the data later: :program:`mb edit`. +A new mirror created this way is disabled in the beginning, because it needs to +be scanned first before it can be useful. + + +Enabling mirror +--------------- + +Enabling a mirror, or more correctly *enabling redirections* to a mirror, can +be done with the command :program:`mb enable`. + +Before doing this for the first time, the mirror needs to be scanned to be +useful; see below (:ref:`scanning_mirrors`). + +Another way to enable a mirror is to edit its database record directly (see +below, where this is explained). + + +Disabling a mirror +------------------ + +Using the :program:`mb disable` command, a mirror can be disabled, and +MirrorBrain will immediately stop to send requests to it. + +Another way to disable a mirror is to use :program:`mb edit` to edit its +database record, and changing the ``enabled`` field to ``False`` or ``0``. At +the same time, a comment about the reason could be left in the ``comment`` +field. + +Disabled mirrors are not scanned. Thus, it is usually advisable to scan a +mirror before reenabling it after inactivity for prolonged time, using +:program:`mb scan -e`. + +A mirror will also effectively be disabled if the ``score`` is set to ``0``. + Deleting a mirror ----------------- @@ -292,6 +326,8 @@ --prefix --country --region`. +.. _scanning_mirrors: + Scanning mirrors ---------------- _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Thu Oct 08 2009 - 09:02:31 GMT
This archive was generated by hypermail 2.2.0 : Thu Oct 08 2009 - 09:45:08 GMT