Manual:SyncFileBackend.php/pl

Category:MediaWiki code/pl#SyncFileBackend.php

Details

syncFileBackend.php file is a maintenance script that syncs one file backend to another based on the journal of later.

Options/Arguments

Option Description Required Default value
--srcName of backend to sync fromWymagane
--dstName of destination backend to syncWymagane
--startStarting journal IDOptional0
--endEnding journal IDOptionalINF (infinite)
--posdirDirectory to read/record journal positionsOptional
--posdumpJust dump current journal position into the position dir.Optional
--postimeFor position dumps, get the ID at this timeOptional
--backoffStop at entries younger than this age (sec)Optional0
--verboseVerbose modeOptional

Usage

php maintenance/run.php syncFileBackend --src sourceBackend --dst destinationBackend [ --start|  --end| --posdir| --posdump| --postime| --backoff| --verbose ]
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.

Zobacz też

Category:Maintenance scripts/pl Category:File maintenance scripts/pl
Category:File maintenance scripts/pl Category:Maintenance scripts/pl Category:MediaWiki code/pl