ReferenceAsk
Remy Reference/admin/Move a data source
?

Move a data source

Moves a corpus to another placement, shared or a dedicated resource, rebuilding it there without downtime.
admin.dataSources.move({ slug, to, chains?, restart? })

Places a corpus on different capacity, either the shared pool or a dedicated resource by id, and rebuilds it there in the background while the current copy keeps serving. --wait blocks until the move finishes, and --stop cancels one in flight. Use it to give a large or latency-sensitive corpus its own resource, or to hand one back to the shared pool.

Parameters
--to
resource-id|shared
RequiredDestination: a dedicated resource id, or "shared" for the pool.
--chains
number
How many rebuild chains run in parallel.
--restart
flag
Restart the move from the beginning.
--wait
flag
Block until the move completes.
--stop
flag
Cancel a move already in flight.
CLI
remy-admin datasources move --source big-corpus --to res_abc123 --wait