13 lines
302 B
Bash
Executable File
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
|