Skip to content

Commit 23b38e7

Browse files
committed
Use existing indices to speed up transfer
1 parent bbc2294 commit 23b38e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

share/github-backup-utils/ghe-restore-es-rsync

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ elif [ "$GHE_VERSION_MAJOR" -gt 1 ]; then
5151
ghe-rsync -avz --delete \
5252
-e "ghe-ssh -p $(ssh_port_part "$GHE_HOSTNAME")" \
5353
--rsync-path="sudo -u elasticsearch rsync" \
54+
--copy-dest="$GHE_REMOTE_DATA_USER_DIR/elasticsearch" \
5455
"$snapshot_dir/elasticsearch/" \
5556
"$(ssh_host_part "$GHE_HOSTNAME"):$GHE_REMOTE_DATA_USER_DIR/elasticsearch-restore" 1>&3
5657

0 commit comments

Comments
 (0)