Have you ever needed to copy your indexes from one platform to another without restoring a backup?
Run this script on the source database. You have one option which is to force the background option.
var always_background = true;
#!/bin/bash | |
if [ $# -ne 4 ] | |
then | |
echo "Usage: $0 <host> <port> <pattern> <seconds>" | |
exit 1 | |
fi | |
cursor=-1 | |
keys="" |