Skip to content

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 :

  1. 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

  2. Re-index search engine: $ /home/pydio/go/src/github.com/pydio/cells-enterprise/cellsv5alpha14 clean admin resync -s pydio.grpc.search

  3. 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

/home/pydio/go/src/github.com/pydio/cells-enterprise/cellsv5alpha14 admin clean resync [flags]

Options

1
2
3
  -h, --help             help for resync
  -p, --path string      Can be used by some services to read additional parameters (default "/")
  -s, --service string   If no datasource name is passed, use the complete service name to resync

Options inherited from parent commands

1
2
3
4
      --cluster string               Name of the cluster for the node (default "default")
      --config string                Configuration storage URL. Supported schemes: etcd|file|mem|vault|vaults (default "file:///home/pydio/cells-working-dir/cells/pydio.json")
      --grpc_client_timeout string   Default timeout for long-running GRPC calls, expressed as a golang duration (default "60m")
      --tenant_id string             Tenant ID to apply command (default "default")
Auto generated by Pydio Cells Enterprise Distribution v4.9.92-alpha15 on 6-Nov-2025