r95636 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95635‎ | r95636 | r95637 >
Date:20:40, 28 August 2011
Author:ariel
Status:deferred
Tags:
Comment:
descriptions of checkpointTime, temp, checkforbz2footer options
Modified paths:
  • /branches/ariel/xmldumps-backup/README.config (modified) (history)

Diff [purge]

Index: branches/ariel/xmldumps-backup/README.config
@@ -87,10 +87,13 @@
8888 (wikiproject) being dumped, in subdirectories by date
8989 Default value: /dumps/public
9090 private -- full path to directory under which all dumps of private wikis
91 - and all private tables will be created, in subdirs by project
92 - name and underneath that in subdirs by date, similar to the
93 - public dumps
 91+ and all private tables will be created, in subdirs by project
 92+ name and underneath that in subdirs by date, similar to the
 93+ public dumps
9494 Default value: /dumps/private
 95+temp -- full path to directory under which temporary files will be created;
 96+ this should not be the same as the public or private directory.
 97+ Default value: /dumps/temp
9598 index -- name of the top-level index file for all projects that is
9699 automatically created by the monitoring process
97100 Default value: index.html
@@ -103,7 +106,7 @@
104107 are found
105108 Default value: home
106109 perdumpindex -- name of the index file created for a dump for a given project
107 - on a given date
 110+ on a given date
108111 Default value: index.html
109112
110113 The above options do not have to be specified in the config file,
@@ -158,6 +161,11 @@
159162 Default value: /bin/cat
160163 grep -- Location of the grep binary
161164 Default value:/bin/grep
 165+checkforbz2footer -- Location of the checkforbz2footer binary
 166+ This is part of the mwbzutils package. If
 167+ the package is not installed, this value will
 168+ be ignored.
 169+ Default value: /usr/local/bin/checkforbz2footer
162170
163171 The above options do not have to be specified in the config file,
164172 since default values are provided.
@@ -197,6 +205,18 @@
198206 pagesPerChunkAbstract -- as pagesPerChunkHistory but for the abstract
199207 generation phase
200208 Default value: False
 209+checkpointTime -- save checkpoints of files containing revision text
 210+ (articles, metacurrent, metahistory dumps)
 211+ every checkpointTime minutes. This involves closing
 212+ the current output file, renaming it to a filename
 213+ which includes in the filename the first and last page
 214+ written, and opening a new file for the next portion
 215+ of the XML output. This can be useful if you want
 216+ to produce a large number of smaller files as input
 217+ to XML-crunching scripts, or if you are dumping
 218+ a very large wiki which has a tendency to fail
 219+ somewhere in the middle (*cough*en wikipedia*cough*).
 220+ Default value: 0 (no checkpoints produced)
201221
202222 The above options do not have to be specified in the config file,
203223 since default values are provided.

Status & tagging log