Manual:syncFileBackend.php

From Linux Web Expert

Revision as of 12:17, 9 March 2023 by imported>Alien333 (Created page with "Valeur par défaut")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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