Permalink
Browse files

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

  • Loading branch information...
luccioman committed Mar 26, 2017
1 parent 29e5110 commit 40403942dba9ee5154ff6aa83dcbbc999c38aee2
Showing with 2 additions and 2 deletions.
  1. +1 −1 bin/indexdump.sh
  2. +1 −1 bin/indexrestore.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}';
./apicall.sh "/IndexExport_p.html?indexdump=" > /dev/null
@@ -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

0 comments on commit 4040394

Please sign in to comment.