Manual:MoveToExternal.php/ko
Appearance
| 미디어위키 버전: | ≥ 1.5 |
| 미디어위키 파일: moveToExternal.php | |
|---|---|
| 위치: | maintenance/storage/ |
| 소스 코드: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| 클래스: | 코드 검색 • 설명문서 검색 |
상세
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.
옵션/인수
| 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 |
사용법
php maintenance/run.php storage/moveToExternal type location [ -s | -e ]
Terminal
$ php maintenance/run.php storage/moveToExternal DB demoCluster Moving text rows from 1 to 675 to external storage oldid=1, moved=1
In MediaWiki version 미디어위키 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.