I have 2 identical environments . Now, on one I have created many roles and have assigned users to them . How do I migrate this to the other server which has the same set of users already.
Any suggestions to the problem would be great.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communityI have 2 identical environments . Now, on one I have created many roles and have assigned users to them . How do I migrate this to the other server which has the same set of users already.
Any suggestions to the problem would be great.
So I Migrated the contents of meta_Key
'wp_user_roles'
from the wp_options
table from one server to another after a backup and it worked , the Roles migration was successful.
wp_users
andwp_usermeta
tables.SELECT * FROM wp_options where option_name = 'wp_user_roles';