the index dump. This is the reverse of indexdump.sh which takes the output of indexdump.sh as input to restore an index. Now it should be possible to transfer a complete YaCy Solr index from one peer yacy1 to another peer yacy2 with the following command: yacy2/bin/indexrestore.sh ´yacy1/bin/indexdump.sh´pull/1/head
parent
15ea053c3a
commit
640339ee21
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
cd "`dirname $0`"
|
||||
./apicall0.sh "/IndexControlURLs_p.xml?indexdump=" | awk '/<dumpfile>/{ gsub("<dumpfile>","" );gsub("<\/dumpfile>","" ); print $0 }' | awk '{print $1}';
|
||||
./apicall.sh "/IndexControlURLs_p.xml?indexdump=" | awk '/<dumpfile>/{ gsub("<dumpfile>","" );gsub("<\/dumpfile>","" ); print $0 }' | awk '{print $1}';
|
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
cd "`dirname $0`"
|
||||
./apicall.sh "/IndexControlURLs_p.xml?indexrestore=&dumpfile=$1" > /dev/null
|
Loading…
Reference in new issue