Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Updated dump/restore shell scripts : the API is now IndexExport_p.html

luccioman40403942dba9
diff --git a/bin/indexdump.sh b/bin/indexdump.sh
index 5756e2cb5..078cb7407 100755
--- a/bin/indexdump.sh
+++ b/bin/indexdump.sh
@@ -1,3 +1,3 @@
#!/usr/bin/env sh
cd "`dirname $0`"
-./apicall.sh "/IndexControlURLs_p.xml?indexdump=" | awk '/<dumpfile>/{ gsub("<dumpfile>","" );gsub("<\/dumpfile>","" ); print $0 }' | awk '{print $1}';
\ No newline at end of file
+./apicall.sh "/IndexExport_p.html?indexdump=" > /dev/null
\ No newline at end of file
diff --git a/bin/indexrestore.sh b/bin/indexrestore.sh
index 232f11ba1..beb5dba85 100755
--- a/bin/indexrestore.sh
+++ b/bin/indexrestore.sh
@@ -1,3 +1,3 @@
#!/usr/bin/env sh
cd "`dirname $0`"
-./apicall.sh "/IndexControlURLs_p.xml?indexrestore=&dumpfile=$1" > /dev/null
+./apicall.sh "/IndexExport_p.html?indexrestore=&dumpfile=$1" > /dev/null