| MediaWiki version: | ≥ 1.5 |
| MediaWiki file: moveToExternal.php | |
|---|---|
| Location: | maintenance/storage/ |
| Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
| Classes: | Find code • Find documentation |
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 storage | Required |
| location | Location in external storage | Required |
| -s | Starting ID of revision | Optional |
| -e | Ending ID of revision | Optional |
Usage
php maintenance/storage/moveToExternal.php type location [ -s | -e ]
Terminal
$ php maintenance/storage/moveToExternal.php DB demoCluster Moving text rows from 1 to 675 to external storage oldid=1, moved=1
See also
- External Storage
- $wgExternalStores
- $wgExternalServers
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.