Manual:MoveToExternal.php

MediaWiki version:
1.5
Category:MediaWiki code#MoveToExternal.php

Details

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

Option/Argument Description Required?
type Type of external storageRequired
location Location in external storageRequired
-s Starting ID of revisionOptional
-e Ending ID of revisionOptional

Usage

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

See also

Category:Maintenance scripts#moveToExternal.php Category:Storage maintenance scripts
Category:Maintenance scripts Category:MediaWiki code Category:MediaWiki code pages without class names Category:Storage maintenance scripts