How to restore an external snapshot

The use case I'm trying to do is as follows: on elasticsearch instance A inside a docker container, a snapshot is taken, and all the relevant snapshot files are copied out of the container and sent in a zip to be used by elasticsearch instance B inside another docker container. The idea is then to use the snapshot files inside the zip to reproduce elasticsearch instance A inside of instance B. to do this, do i need to register a snapshot repository inside of instance b, scp the files from the saved snapshot inside instance b'sthe repo path, then use the restore api?

It sounds like you want to make a repository backup and then restore it, which is covered in the docs:

It's pretty much what you described, except you shouldn't register the repository until after you've finished moving files around.

thanks, i missed that in the docs somehow.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.