cellsv5alpha14 admin clean resync
And a TriggerResync gRPC command to a service
Synopsis¶
DESCRIPTION
TriggerResync is a generic gRPC endpoint that can be implemented by various services to perform internal clean-up or resynchronization.
This can be currently used for datasources (see 'admin datasource' commands), search engine, logs (for truncating). The "path" can be used by some services to read additional parameters.
EXAMPLES
To trigger the re-indexation of "pydiods1" datasource, target the "sync" service associated to the datasource :
-
Equivalent to "admin datasource resync" command: $ /home/pydio/go/src/github.com/pydio/cells-enterprise/cellsv5alpha14 clean admin resync --service=pydio.grpc.data.sync.pydiods1
-
Re-index search engine: $ /home/pydio/go/src/github.com/pydio/cells-enterprise/cellsv5alpha14 clean admin resync -s pydio.grpc.search
-
Truncate logs to a given size (in bytes): $ /home/pydio/go/src/github.com/pydio/cells-enterprise/cellsv5alpha14 clean admin resync --service=pydio.grpc.logs --path=TRUNCATE/200000