Skip to content

Use existing Elasticsearch indices to speed up transfer during a restore#310

Merged
snh merged 1 commit into
masterfrom
snh/es-rsync-incremental
Jun 2, 2017
Merged

Use existing Elasticsearch indices to speed up transfer during a restore#310
snh merged 1 commit into
masterfrom
snh/es-rsync-incremental

Conversation

@snh

@snh snh commented Jun 2, 2017

Copy link
Copy Markdown
Member

When restoring Elasticsearch indices, leverage the --copy-dest= rsync option so that any existing indices on the target appliance are used as a base.

While rsync would typically do this without needing this additional option, our use of a temporary staging directory - /data/user/elasticsearch-restore - necessitates the addition of this flag.

This will help minimise unnecessary re-transfers of data during incremental restores, with the aim of only transferring data that has changed.

Testing has shown this brings improvements in various scenarios, and as yet no downside has been identified.

/cc @github/backup-utils

@snh snh merged commit 7fe685e into master Jun 2, 2017
@snh snh deleted the snh/es-rsync-incremental branch June 2, 2017 18:16
@snh snh mentioned this pull request Jun 7, 2017
jeluhu pushed a commit that referenced this pull request Jun 12, 2023
@jeluhu jeluhu mentioned this pull request Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants