We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72b366d commit ade647bCopy full SHA for ade647b
share/github-backup-utils/ghe-restore-es-hookshot
@@ -25,8 +25,8 @@ indices=$(ls -1 $GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT/hookshot/*.gz 2>/dev/null |
25
26
for index in $indices; do
27
if [ -z "$last_index" ] || ! [ $index \< $last_index ]; then
28
- echo "Restoring $index"
29
- gzip -dc $GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT/hookshot/$index.gz | ghe-ssh "$GHE_HOSTNAME" "/usr/local/share/enterprise/ghe-es-load-json 'http://localhost:9201/$index'"
+ ghe_verbose "* Restoring $index"
+ gzip -dc $GHE_DATA_DIR/$GHE_RESTORE_SNAPSHOT/hookshot/$index.gz | ghe-ssh "$GHE_HOSTNAME" "/usr/local/share/enterprise/ghe-es-load-json 'http://localhost:9201/$index'" 1>&3
30
fi
31
done
32
0 commit comments