Movement of user and connection from one dataiku instance to another
Operating system used: linux on prem
Best Answer
-
Alexandru Dataiker, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 1,226 Dataiker
Hi @saurabh
,While there isn't a single script, you can use the Python APIs to automate this process
1) Users
a) Users listing existing users on an instance - https://doc.dataiku.com/dss/latest/python-api/users-groups.html#listing-users
b) Create users via API on a new instance - https://doc.dataiku.com/dss/latest/python-api/users-groups.html#a-local-user-with-a-password
2) Groups
a) https://doc.dataiku.com/dss/latest/python-api/users-groups.html#listing-groups
b) https://doc.dataiku.com/dss/latest/python-api/users-groups.html#creating-a-group
3) Connections Retrieving the connections that are defined in the first instance and recreating them in the second instance https://doc.dataiku.com/dss/latest/python-api/connections.html#connections
4) Code envs: https://doc.dataiku.com/dss/latest/python-api/code-envs.html#creating-a-code-envAttached a sample script for Code envs a similar approach can be done for the rest of the items.
Hope that helps!