Manual:syncFileBackend.php

From Linux Web Expert

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

Utilisation

php maintenance/syncFileBackend.php --src sourceBackend --dst destinationBackend [ --start|  --end| --posdir| --posdump| --postime| --backoff| --verbose ]
Terminal

Voir aussi