cells admin resync
./cells admin resync
Trigger a service resync
Synopsis
DESCRIPTION
Trigger the re-indexation of a service. This can be currently used for datasource indexes (see 'admin datasource' commands) and search engine.
EXAMPLES
To trigger the re-indexation of "pydiods1" datasource, target the "sync" service associated to the datasource :
By datasource name: $ ./cells admin resync --datasource=pydiods1
By service name: $ ./cells admin resync --service=pydio.grpc.data.sync.pydiods1
Re-index search engine: $ ./cells admin resync --service=pydio.grpc.search --path=/
./cells admin resync [flags]
Options
--datasource string Name of datasource to resync
-h, --help help for resync
--path string Path to resync (default "/")
--service string If no datasource name is passed, use the complete service name to resync
Options inherited from parent commands
--broker string Pub/sub service for events between services (currently nats only) (default "memory")
--nats_address string NATS server address (default ":4222")
--nats_cluster_address string NATS server cluster address
--nats_cluster_routes string NATS server cluster routes
--nats_monitor_port int Expose nats monitoring endpoints on a given port (default 8222)
--nats_streaming_cluster_bootstrap NATS streaming bootstrap cluster
--nats_streaming_cluster_id string NATS streaming cluster ID (default "cells")
--nats_streaming_cluster_node_id string NATS streaming cluster node id
--nats_streaming_cluster_peers string NATS streaming list of cluster peers
--nats_streaming_clustered NATS streaming clustered
--nats_streaming_store string NATS streaming store type (default "MEMORY")
--port_broker int Port used to start a broker discovery service (default 8003)
--port_registry int Port used to start a registry discovery service (default 8000)
--registry string Registry used to manage services (currently nats only) (default "memory")
--transport string Transport protocol for RPC (default "grpc")
SEE ALSO
- ./cells admin - Direct Read/Write access to Cells data