The CreatorCon Call for Content is officially open! Get started here.

How to Migrate data on Domain seperated Instance.

archanajoshi
Kilo Expert

Hi All,

I want to migrate Data from one Domain seperated instance to Another Domain seperated instance.

What approch should we follow ? Is there any wiki links or documents there ?

What precautions should i take in order to avoid problem while data movement.

Please help.

Thanks,

Archana.

4 REPLIES 4

ghsrikanth
Tera Guru

The biggest concern in doing this will be the difference in sys_ids of the domains. I am not sure, it will work or not, but you can give it a try -


1. Go to sys_domain table and export the table in xml


2. Go to domain_contains table and export the table in xml


3. Import both the above xml in another environment


4. You can go to any domain separated table in previous environment and export few incidents and import in the second environment


5. Most probably the domains should be right



let me know if it worked or not


Hi Srikanth,



With Step 1 i have successfully migrated domains from one instance to another. I am also able to them under Domain map.



For Data migration how to proceed ?



I want to migrate all Incident, change, problem , CMDB data to new instance within respective domain. How to do this ?



Please help.



Thanks,


Archana


ghsrikanth
Tera Guru

That will be huge amount of data. Servicenow advices its better to use schedule import, in that way you can just run everything in the background and still can work on the target instance -


Importing from Another ServiceNow Instance - ServiceNow Wiki



Please make sure, you never miss this step listed in the link -


before transform script



if (action == "insert"){target.setNewGuidValue(source.u_sys_id);}




Mark if it is helpful


markherring
Kilo Expert

Hello,

You can use the Precision Bridge tool to migrate your data between domain separated instances so that the data is moved into the correct corresponding domain and all data integrity is maintained.

For more information see https://precisionbridge.net/instance-migrator

HTH

Mark