# Can roles be exported/imported?

**URL:** <https://community.dreamfactory.com/t/can-roles-be-exported-imported/2059>\
**Category:** App Configuration\
**Created:** [January 20, 2016, 12:58pm UTC](https://community.dreamfactory.com/t/can-roles-be-exported-imported/2059 "2016-01-20T12:58:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adam\_weaveware](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@adam\_weaveware](https://community.dreamfactory.com/u/adam_weaveware)\
**Post date:** [January 20, 2016, 12:58pm UTC](https://community.dreamfactory.com/t/can-roles-be-exported-imported/2059/1 "2016-01-20T12:58:24Z")

</div>

Is there any way to export roles? They don’t seem to be included as part of an app package (which would make sense given they exist independently of an app).

---

<div class="post-metadata">

**Author:** ![Conrado\_Copetti](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.dreamfactory.com/conrado_copetti/32/569_2.png) [@Conrado\_Copetti](https://community.dreamfactory.com/u/Conrado_Copetti)\
**Post date:** [January 20, 2016, 1:25pm UTC](https://community.dreamfactory.com/t/can-roles-be-exported-imported/2059/2 "2016-01-20T13:25:35Z")

</div>

I can export my roles making a direct export my DBMS and exporter df\_sys\_role\_service\_access table and importing normally. Tomare that has helped

---

<div class="post-metadata">

**Author:** ![adam\_weaveware](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@adam\_weaveware](https://community.dreamfactory.com/u/adam_weaveware)\
**Post date:** [January 20, 2016, 1:27pm UTC](https://community.dreamfactory.com/t/can-roles-be-exported-imported/2059/3 "2016-01-20T13:27:36Z")

</div>

Ah OK, that’ll work, thanks!

---

<div class="post-metadata">

**Author:** ![Kevin\_Mcgahey](https://avatars.discourse-cdn.com/v4/letter/k/b3f665/32.png) [@Kevin\_Mcgahey](https://community.dreamfactory.com/u/Kevin_Mcgahey)\
**Post date:** [April 20, 2020, 9:33pm UTC](https://community.dreamfactory.com/t/can-roles-be-exported-imported/2059/4 "2020-04-20T21:33:55Z")

</div>

Everything in DreamFactory can be exported and can be extremely useful when migrating from one instance to another. You can also do this programmatically via the [system API](https://guide.dreamfactory.com/docs/chapter15/create-a-database-api.html).

 ![Image 2020-04-20 at 2.31.51 PM](https://canada1.discourse-cdn.com/flex035/uploads/dreamfactory/original/2X/3/3088e0a32c1f5ce965dc502acfec0b98115ed270.png)
