Exclude Discovery items from clone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2016 04:58 AM
Multiple departments in our company make use of the same ServiceNow instance. One of those departments wants to clone down from the production instance to the QA and DEV instances. My team owns the Discovery and Configuration/CMDB modules. We want to prevent the cloning from overwriting/touching any Discovery or Configuration/CMDB information.
- To prevent Discovery and Configuration/CMDB items from being overwritten in a clone, would the proper steps be to add cmdb*, discovery*, and ecc* to the Clone Exclude Tables section?
- Are there other tables that should be excluded, or other data preservers that should be added, to meet that goal?
- Would there be negative effects on other modules/applications in the instance with those exclusions? Someone voiced concern because there are 779 tables that begin with CMDB. Are all tables that begin with CMDB truly only used for the Configuration application?
- Labels:
-
Service Mapping

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-03-2016 01:25 AM
1) If you don't want the data to be cloned the exclude tables is your choice. Bear in mind, only excluding would result in empty tables after the clone.
2) Data Preservers is what you would need to make sure the data in the tables will stay. So use Exclude Tables and Data Preservers in combination.
3) yes, all tables starting with cmdb_ are used only as part of the CMDB. However, all referential fields would loose their information. Say you have a change with 20 servers attached, after the clone this information would most likely be lost as the same servers will exists in your QA but have different sys_ids.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-07-2016 09:14 AM
Thank you for the reply.
The necessity of Data Preservers is troublesome, though. With Exclude Tables, a wildcard can be used. With Data Preservers, it appears an entry must be created for each individual table. There are 932 tables that start with Discovery, ECC, or CMDB.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-04-2023 06:27 AM
@rgu So what was the solution you ended up using / finding? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2024 08:16 AM
@rgu What solution did you end up using? I'm having a similar issue with keeping our Dev instance Discovery data during a Clone.