Manual:SyncFileBackend.php

This page is a translated version of the page Manual:SyncFileBackend.php and the translation is 30% complete.

Detalhes

O arquivo syncFileBackend.php é um script de manutenção para sincronizar um backend de arquivos para outro baseado no diário de mais tarde.

Options/Arguments

Option Description Required Default value
--src Name of backend to sync from Required
--dst Name of destination backend to sync Required
--start Starting journal ID Optional 0
--end Ending journal ID Optional INF (infinite)
--posdir Directory to read/record journal positions Optional
--posdump Just dump current journal position into the position dir. Optional
--postime For position dumps, get the ID at this time Optional
--backoff Stop at entries younger than this age (sec) Optional 0
--verbose Verbose mode Optional

Usage

php maintenance/run.php syncFileBackend --src sourceBackend --dst destinationBackend [ --start|  --end| --posdir| --posdump| --postime| --backoff| --verbose ]
Terminal
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

See also