- Pause indexing
- Issue a flush request
- Rsync data directories somewhere
- Resume indexing
This is technically a very naive approach, since a simple rsync of the data dirs will include replicas too. If you were more diligent you could check the state files in each shard directory and only copy out the primaries.