summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2017-03-26 10:59:04 +0200
committerluccioman <luccioman@users.noreply.github.com>2017-03-26 10:59:04 +0200
commit40403942dba9ee5154ff6aa83dcbbc999c38aee2 (patch)
treedecc975151aef30d1c33ee982964095bf9b34224
parent29e511062769b24a93493bdcd549edfeaa14be35 (diff)
Updated dump/restore shell scripts : the API is now IndexExport_p.html
-rwxr-xr-xbin/indexdump.sh2
-rwxr-xr-xbin/indexrestore.sh2
2 files changed, 2 insertions, 2 deletions
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