how to export groups along with roles and group members

eashwar
Tera Contributor

I am trying to export groups along with Roles and Group members to import into another instance but it doesnt import Roles and Group members.

Any suggestions ?

20 REPLIES 20

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Eashwar,



sys_user_grmember is the table you have to export.


Please let me know if you have any questions.


Thank you Pradeep.


if i understand correct.



i need to export and import below tables to have Groups and its corresponding roles and group members



1. Users - sys_user


2. Roles - sys_user_role


3. sys_user_grmember


4. sys_user_group




Correct.


Thanks for confirmation Pradeep. Just to add, we need to export and import "sys_group_has_role"