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.
2 parents da9ab8c + 7fe685e commit 099f162Copy full SHA for 099f162
share/github-backup-utils/ghe-restore-es-rsync
@@ -51,6 +51,7 @@ elif [ "$GHE_VERSION_MAJOR" -gt 1 ]; then
51
ghe-rsync -avz --delete \
52
-e "ghe-ssh -p $(ssh_port_part "$GHE_HOSTNAME")" \
53
--rsync-path="sudo -u elasticsearch rsync" \
54
+ --copy-dest="$GHE_REMOTE_DATA_USER_DIR/elasticsearch" \
55
"$snapshot_dir/elasticsearch/" \
56
"$(ssh_host_part "$GHE_HOSTNAME"):$GHE_REMOTE_DATA_USER_DIR/elasticsearch-restore" 1>&3
57
0 commit comments