Manual:SyncFileBackend.php/fr

Category:MediaWiki code/fr#SyncFileBackend.php

Détails

Le fichier syncFileBackend.php est un script de maintenance qui synchronise deux backends de fichiers selon le journal de plus tard.

Options et arguments

Option Description Obligatoire Valeur par défaut
--srcName of backend to sync fromobligatoire
--dstName of destination backend to syncobligatoire
--startStarting journal IDoptionnel0
--endEnding journal IDoptionnelINF (infinite)
--posdirDirectory to read/record journal positionsoptionnel
--posdumpJust dump current journal position into the position dir.optionnel
--postimeFor position dumps, get the ID at this timeoptionnel
--backoffStop at entries younger than this age (sec)optionnel0
--verboseVerbose modeoptionnel

Utilisation

php maintenance/run.php syncFileBackend --src sourceBackend --dst destinationBackend [ --start|  --end| --posdir| --posdump| --postime| --backoff| --verbose ]
Terminal
Dans la version MediaWiki 1.39.12 et antérieure, vous devez invoquer des scripts de maintenance à l'aide de php maintenance/scriptName.php au lieu de php maintenance/run.php scriptName.

Voir aussi

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