This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
solr-shard-management/solr-migrate-shard.sh
2022-05-11 18:51:20 +00:00

13 lines
302 B
Bash
Executable File

#!/bin/bash
# backup shardS on nodeA
# copy backup of shardS from nodeA to nodeB
# if non existent, create shardS on nodeB
# pause indexing of shardS on nodeB
# restore shardS on nodeB
# resume indexing of shardS on nodeB
# optionally remove shardS on nodeA; probably best done well after the fact