How to move attachments from 1 ServiceNow instance to another ServiceNow instance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 12:11 PM - edited 05-03-2024 01:07 AM
We have two ServiceNow instances 'A' and 'B'.
We need to migrate all the Contracts from A to B (there are around 5000 Contracts). As both the instances have few custom fields, we have done field to field mapping and moved the Contract data from 'A' to 'B' using import set.
Now how to move the attachements from 'A' to 'B'? (sys_id's of contracts are different in both instances right, so I believe there is no straight way to move across instances). Is there a solution?
Note - This is a one time data migration activity that we need to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2024 01:44 PM
I don't see any updates where you provided more clarity, but @Monique Rogers has provided links for you to reference. find a REST expert in your organization

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2024 03:16 PM
Hi @Suggy ,
Have you considered using Instance Data Replication .
Hope this helps.
If my response has resolved your query, please consider giving it a thumbs up and marking it as the correct answer!
Thanks & Regards,
Sanjay Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 01:09 AM
@Community Alums This is a one time data migration activity that we need to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2024 02:07 AM
Anyone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2024 07:44 AM
Since you have 5000 records in the Contracts table that differ in A and B, trying to move attachments for those seems im-practical. You will need to match records in Contracts table between the two instances and change the value on the sys_attachment record field 'table_sys_id' from A to the corresponding contract record in B. You will need to coalesce on some other field combination to do that.
You can clone A to B.