Jump to content

Manual:moveToExternal.php

From mediawiki.org
MediaWiki version:
1.5

Details

[edit]

moveToExternal.php file is a maintenance script to move revision's text to external storage.

You have to set up the $wgExternalStores and $wgExternalServers configuration before running the script. See Manual:External Storage for more details.

Options/Arguments

[edit]
Option/Argument Description Required?
type Type of external storage Required
location Location in external storage Required
-s Starting ID of revision Optional
-e Ending ID of revision Optional

Usage

[edit]
php maintenance/run.php storage/moveToExternal type location [ -s | -e ]
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also

[edit]