# Copy users and roles created in kibana to new cluster

**URL:** <https://discuss.elastic.co/t/copy-users-and-roles-created-in-kibana-to-new-cluster/323392>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [January 18, 2023, 9:15am UTC](https://discuss.elastic.co/t/copy-users-and-roles-created-in-kibana-to-new-cluster/323392 "2023-01-18T09:15:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dadiasish](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadiasish/32/114221_2.png) [@dadiasish](https://discuss.elastic.co/u/dadiasish)\
**Post date:** [January 18, 2023, 9:15am UTC](https://discuss.elastic.co/t/copy-users-and-roles-created-in-kibana-to-new-cluster/323392/1 "2023-01-18T09:15:25Z")

</div>

Hi,

I've multiple users which are created to access Kibana in my current cluster.

Now, we have planned to have a new cluster and I would like to have all these existing users copied from my previous cluster to the new cluster.

Is there a possible way which we can do it?

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 18, 2023, 10:09pm UTC](https://discuss.elastic.co/t/copy-users-and-roles-created-in-kibana-to-new-cluster/323392/2 "2023-01-18T22:09:23Z")

</div>

You can, take a look at [Create a snapshot | Elasticsearch Guide [8.6] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.6/snapshots-take-snapshot.html#back-up-specific-feature-state).

---

<div class="post-metadata">

**Author:** ![dadiasish](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadiasish/32/114221_2.png) [@dadiasish](https://discuss.elastic.co/u/dadiasish)\
**Post date:** [January 19, 2023, 2:31am UTC](https://discuss.elastic.co/t/copy-users-and-roles-created-in-kibana-to-new-cluster/323392/3 "2023-01-19T02:31:26Z")

</div>

Thanks alot for the suggestion Mark. This would really help.

I need a few more confirmations on it.

1. I'm trying to move this from 7.14 to 7.17, so will that be a problem if this system index(. security) is copied/restored in between two versions?

2. Also, I would like to know what are the other features which might restore into the new cluster along with the users and roles when I'm copying the/restoring the whole .security index.

What I mean is, does . security index contain any other features apart from just users and roles?

Just wanted to confirm before implementing it.

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 19, 2023, 3:02am UTC](https://discuss.elastic.co/t/copy-users-and-roles-created-in-kibana-to-new-cluster/323392/4 "2023-01-19T03:02:49Z")

</div>

No, it will support that version jump.

That index only contains Security relevant information.

---

<div class="post-metadata">

**Author:** ![dadiasish](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadiasish/32/114221_2.png) [@dadiasish](https://discuss.elastic.co/u/dadiasish)\
**Post date:** [January 19, 2023, 5:34am UTC](https://discuss.elastic.co/t/copy-users-and-roles-created-in-kibana-to-new-cluster/323392/5 "2023-01-19T05:34:43Z")

</div>

Cool. Thanks a lot.

Let me try it out.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 16, 2023, 5:35am UTC](https://discuss.elastic.co/t/copy-users-and-roles-created-in-kibana-to-new-cluster/323392/6 "2023-02-16T05:35:15Z")

</div>

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