CMDB table transfer between instances
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2024 06:56 AM
Hi, How to add the Cmdb tables cmdb, cmdb_ci, and cmdb_rel_ci to an update set and transfer to another instance??

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2024 07:12 AM
Hi @Siris ,
The most straightaway method is You'll want to export data from every cmdb_ tables as XML and import on the destination instance.
There's a couple of ways you can accomplish this.
If your CMDB is pretty light on overall records, you can migrate it using data sources and do an XML pull from your other instance.
This method though is probably the most difficult to fully accomplish without tweaking because you'll most likely hit the record limit before you get all of your data out, also in my testing with this, there seems to be a hard limit on the rows that you can move using this method too.
Another undesirable way to do this would be to just export your cmdb via csv (which if you have anything on the relationship table is not going to work
because exporting the csv does not give you the sys_id to match for relationships)
Yet another way would actually be to export the entire cmdb to excel/csv using the odbc connector, although this isn't really practical, it does work and will give you the sys_id. (When I tried this I spent more time removing useless columns than actually importing and transforming the data)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2024 07:13 AM
HI @Siris
If you want to move the data, you can use import / export XML from one instance to another instance.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2024 01:19 AM
Hi, thanks for the response. I tried it, but the issue is related CIs are not imported.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2024 02:16 AM
Related CI means relationship? Please share the screenshot.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************