Elasticsearch Restore snapshot from different azure account


(Narmatha) #1

I need to copy data from the production server into the test server.

How to do this ?

The snapshot is created in production using azure cloud plugin.

Is it possible to restore data from one azure storage to another azure storage account ?


(David Pilato) #2

You can install the same cloud plugin on your test instance and use the same credentials to restore it.
Don't mix elasticsearch versions though.


(Narmatha) #3

I have a separate azure cloud storage account credentials for test env.

Is it good to configure the production cloud credentials as secondary for restoring the indices in test ?


(David Pilato) #4

Is it good to configure the production cloud credentials as secondary for restoring the indices in test ?

Well. Accessing PROD data from a test env does not sound like a good idea to me but if you need it...
You can try to use azure tools to copy all the content from your PROD repository to the TEST repository. Then restore from the TEST repository. Probably better.

Note that you can probably use the readonly mode when creating the repository on the test cluster... I think it applies as well to Azure repositories. See https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_shared_file_system_repository


(system) #5

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