Instance cloning
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello,
Cloning the dev and test instance for the first time. so I want to understand what should be included in preserve data and exclude tables. like user records and roles? will i be able to login with my admin access after clone? what pre cloning and post cloning steps should i consider?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @swathi55
During a ServiceNow instance clone, Data Preservers protect specific target instance records from being overwritten, while Exclude Tables prevent source instance table data from being copied over. Both are configured on the source instance under System Clone.
Refer Servicenow Documentation:
Preserving data from target instances during clones
What tables you will include in preserve data and exclude its totally as per the project.
Generally we put user and role related tables along with sys_properties table etc.
Data preservers typically preserve system settings and themes, such as:
- Instance-specific authentication settings
- Bookmark [sys_ui_bookmark]
- Recent Selection [sys_ui_recent_selection]
- User Preference [sys_user_preference]
Yes, you should be log in with admin access after a ServiceNow clone, provided was preserved on the target instance /your admin account exists on the source instance (typically production).
For Pre-Cloning, Post-cloning checklist , Refer:
Using a Cloning Plan to Ensure Successful Clones in ServiceNow
KB0547597 Post-Cloning Checklist
Administration: Cloning || Knowledge & Troubleshooting Resources
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi @swathi55 ,
Since this is your first instance clone, I would recommend reviewing the Preserve Data and Exclude Tables configurations carefully before initiating it.
1. What should you preserve?
For a Dev-to-Test clone, identify the configurations that are specific to your Test environment.
Some examples include:
| Table | Purpose |
|---|---|
sys_user |
Preserve selected Test-specific user accounts if required. |
sys_user_has_role |
Preserve roles assigned to those users. |
sys_user_grmember |
Preserve their group memberships. |
sys_properties |
Preserve environment-specific system properties where necessary. |
ecc_agent |
Preserve target-specific MID Server configurations if required. |
| SSO-related tables | Preserve target-specific authentication configurations and certificates where necessary. |
Important: Do not blindly preserve or exclude all these tables. Identify which records actually need to remain specific to Test.
ServiceNow recommends avoiding preservers for large datasets such as users and groups. If you need to retain many users, consider exporting and importing the required records instead.
2. Pre-Clone Checklist
Before starting the clone:
-
Take backups of important update sets from the target instance.
-
Export any Test-specific configurations that must be retained.
-
Identify target-specific users, groups and roles.
-
Review SSO, authentication and integration configurations.
-
Identify MID Server configurations.
-
Review Preserve Data and Exclude Tables.
-
Inform developers and stakeholders about the planned downtime.
-
Confirm that the correct source and target instances are selected.
3. Post-Clone Checklist
After cloning is completed:
-
Verify that you can log in with admin access.
-
Verify SSO and local authentication.
-
Check users, groups and roles.
-
Verify MID Server connectivity.
-
Review outbound email configuration and ensure test emails do not reach real customers.
-
Verify OAuth credentials, REST integrations and connection aliases.
-
Check scheduled jobs and integration endpoints.
-
Verify update sets and application configurations.
-
Test important business processes and integrations.
Important: ServiceNow disables email functionality during the cloning process. Review and validate the email configuration before enabling outbound emails on the target.
4. Official ServiceNow References
My Recommendation
For your first clone, don't start by adding large numbers of tables to Preserve Data or Exclude Tables.
First, identify what is different between Dev and Test. Preserve only the target-specific configurations that must survive the clone, and export important target data before proceeding.
Also, remember that Preserve Data and Exclude Tables configurations are maintained on the source instance, even though preservers protect data from the target.
Hope this helps!
Regards,
Sandesh Powar
ServiceNow Rising Star