# Backp up native users along with passwords and roles

**URL:** <https://discuss.elastic.co/t/backp-up-native-users-along-with-passwords-and-roles/235995>\
**Category:** Elasticsearch\
**Created:** [June 5, 2020, 5:57pm UTC](https://discuss.elastic.co/t/backp-up-native-users-along-with-passwords-and-roles/235995 "2020-06-05T17:57:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sirius](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sirius/32/47012_2.png) [@Sirius](https://discuss.elastic.co/u/Sirius)\
**Post date:** [June 5, 2020, 5:57pm UTC](https://discuss.elastic.co/t/backp-up-native-users-along-with-passwords-and-roles/235995/1 "2020-06-05T17:57:35Z")

</div>

Hello,

Is there a way to export a backup of my users with passwords and roles ?  
I'm running ES 7.6.2.

If I do create snapshots for indices security... I'll be covering that users, roles, passwords part ?

i.e.

PUT /\_snapshot/my\_backup/snapshot\_1  
{  
"indices": ".security"  
}

Regards,  
Jorge

---

<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:** [July 3, 2020, 5:57pm UTC](https://discuss.elastic.co/t/backp-up-native-users-along-with-passwords-and-roles/235995/2 "2020-07-03T17:57:40Z")

</div>

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