Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
sri_c003
Partner - Creator II
Partner - Creator II

Copying Roles between instances

Say, I created an NPrinting instance, and created a bunch of roles. And then I want to copy these roles to another instance of NPrinting (same version).

How do i achieve this, not going the backup and restore route since that would apply to all other areas too.

I want a copy of only the various security roles.

This would help me back them up and restore in case I am going for a wipe and clean installation too.

22 Replies
sri_c003
Partner - Creator II
Partner - Creator II
Author

What did you use for password, for this wasn't working for me when I used the NPrinting password to connect using psql.

@Johan Hessler: I shalll comment on what you said once I figure out how to connect to the database.

blaise
Partner - Specialist
Partner - Specialist

You should use the pwd for the user you created when you set up the repository (during installation).

My NB grows stronger and stronger for every minute I spend thinking of this case

sri_c003
Partner - Creator II
Partner - Creator II
Author

It is failing at this, upon password entry. Very weird why it isn't letting me connect to it.

Am I missing any parameter?

'

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

sorry for my ignorance - what does "NB" stand for? you keep repeating this.... are you referring to Naïve Bayes

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

this is because you use wrong user. user needs to be postgress and pasword shoud be your repository passowrd used when installing it.

have a read here:

NPrinting Repository Database - Name

cheers

Lech

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

that is not true - see my answer below

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
Daniel_Jenkins
Specialist III
Specialist III

Hi Lech,

Non technical answer for a change

nota bene

/ˈnəʊtə ˈbiːnɪ/
note well; take note Abbreviation NB, N.B., nb, n.b.

Johan's reference to his initial NB:

HTH - Daniel.

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

haha - of course

we keep using all abbreviations i thought it would be something more sophisticated.. so i came up with "Naive Bayers" statistical approach and i could not figure the releation to NPrinitng topic.

thanks Daniel!

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.
blaise
Partner - Specialist
Partner - Specialist

Maybee i wasn't clear enough, i meant the pwd you specify for the postgres user when installation NPrinting (and the repository part). Nevertheless (ie the same user you state)

Lech_Miszkiewicz
Partner Ambassador/MVP
Partner Ambassador/MVP

all good - i see what you meant!

cheers Lech, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful to the problem.