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 61bee70 commit 247318dCopy full SHA for 247318d
share/github-backup-utils/ghe-restore-es-rsync
@@ -55,8 +55,8 @@ elif [ "$GHE_VERSION_MAJOR" -gt 1 ]; then
55
"$snapshot_dir/elasticsearch/" \
56
"$(ssh_host_part "$GHE_HOSTNAME"):$GHE_REMOTE_DATA_USER_DIR/elasticsearch-restore" 1>&3
57
58
- # restoring in 2.14 will remove incompatible indices created with 1.x.
59
- if [ "$GHE_VERSION_MAJOR" -eq 2 ] && [ "$GHE_VERSION_MINOR" -eq 14 ]; then
+ # restoring in >=2.14 will remove incompatible indices created with 1.x.
+ if [ "$GHE_VERSION_MAJOR" -eq 2 ] && [ "$GHE_VERSION_MINOR" -ge 14 ]; then
60
ghe-ssh "$GHE_HOSTNAME" -- "sudo /usr/local/share/enterprise/ghe-es-remove-1x-indices"
61
fi
62
0 commit comments