Manual:MoveToExternal.php/de
MediaWiki Version: | ≥ 1.5 |
MediaWiki-Datei: moveToExternal.php | |
---|---|
Speicherort: | maintenance/storage/ |
Quellcode: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Klassen: | Code finden • Dokumentation finden |
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. Siehe Manual:External Storage für weitere Details.
Optionen/Argumente
Option/Argument | Beschreibung | Notwendig? |
---|---|---|
type | Type of external storage | Notwendig |
location | Location in external storage | Notwendig |
-s | Starting ID of revision | Optional |
-e | Ending ID of revision | Optional |
Verwendung
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