Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to restore users in the bamboo-admin group - (deleted by accident by not selecting)

Peter Mol July 20, 2018

We deleted by accident the bamboo admin users by adding an extra user and not selecting all the users in the "existingusers in group" pannel.

We cannot restore the database in the production environment so we want to restore to another server and manueally retrieve all the users in the postgresql tables.

Can anybody help with the location of the tables or provide us with a query that gives us the users in the bamboo-admin group.

1 answer

0 votes
Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 20, 2018

Look at LOCAL_MEMBERS table

Peter Mol July 20, 2018

Only 1 local user which is in the admin group.

In our acceptance environment it's the same. i think that the rest are AD users.

Alexey Chystoprudov
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 20, 2018

then check EXTERNAL_MEMBERS table

Peter Mol July 20, 2018

Thanks Alexey.

I started with that table and found out the rest ! Thanks in advance.

Here's my query that lists the groups and their members:

SELECT em.extentityid, em.groupid, ee.name, ee.type, gr.groupname
 FROM public.external_members em 
 inner join public.groups gr on (em.groupid=gr.id)
 inner join public.external_entities ee on (em.extentityid=ee.id)
 order by gr.groupname, ee.name;

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events