<h2>Clone (legacy UI)</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="concept" /><meta name="DC.title" content="Exploring Instance Clone" /><meta name="abstract" content="Explore how to use the Instance Clone application to copy everything in a database from one instance to another." /><meta name="description" content="Explore how to use the Instance Clone application to copy everything in a database from one instance to another." /><meta name="DC.subject" content="Managing Data, Instance clone" /><meta name="keywords" content="Managing Data, Instance clone" /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2025-01-24T11:52:48-08:00" /><meta name="DC.date.modified" content="2025-07-31" /><meta name="mini-toc" content="yes" /><meta name="page-type" content="exploring-framework" /><meta name="mini-toc" content="yes" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="exploring-instance-clone" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Exploring Instance Clone</title></head><body> <div class="nested0" id="exploring-instance-clone"> <h1 class="title topictitle1" id="ariaid-title1">Exploring <span class="ph">Instance Clone</span></h1> <div class="body conbody"><p class="shortdesc">Explore how to use the Instance Clone application to copy everything in a database from one instance to another.</p> <div class="section" id="exploring-instance-clone__cf-exploring-parent-overview"><h2 class="title sectiontitle"><span class="ph">Clone</span> terminology</h2> <div class="p"> <div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="exploring-instance-clone__table_gkn_h2c_zfc" class="table" frame="border" border="1" rules="all"><caption><span class="tablecap"><span class="table--title-label">Table 1. </span>Clone terms</span></caption><colgroup><col style="width:50%" /><col style="width:50%" /></colgroup><thead class="thead" style="text-align:left;"><tr class="row"><th class="entry cellrowborder" style="vertical-align:top;" id="d605819e76">Field</th><th class="entry cellrowborder" style="vertical-align:top;" id="d605819e79">Description</th></tr></thead><tbody class="tbody"><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e76 ">Source Instance</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e79 ">The original database where data is copied from.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e76 ">Target Instance</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e79 ">The new location where the data is copied to.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e76 ">Data Preservers</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e79 ">Specified data from the target instance that is retained on the target instance during the clone. Preservers are defined on the source instance.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e76 ">Table Exclusions</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e79 ">Data that is not cloned to your target instance.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e76 ">Cleanup Scripts</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e79 ">Automated steps that run after cloning, such as changing data or settings.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e76 ">Clone Profiles</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e79 ">Reusable template for clone settings, exclusions, preservers, and scripts.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e76 ">Clone Admin Console</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e79 ">The Clone Admin Console is the default user interface that enables you to manage and track the cloning process.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e76 ">On-Demand Backup</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e79 ">With on-demand backup enabled, clone takes a fresh on-demand differential backup at the specified clone start time. Clone uses this backup during the restore phase of the clone.</td></tr><tr class="row"><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e76 ">Clone Chaining</td><td class="entry cellrowborder" style="vertical-align:top;" headers="d605819e79 ">You can divide your clone operation into two steps. <ol class="ol" id="exploring-instance-clone__ol_uc4_zc1_dgc"><li class="li">Cloning from production to your test (non-production) environment.</li><li class="li">Cloning from 'test' to all your other environments.</li></ol> You can save time if you're dealing with multiple instances and experience long clone durations. Using this strategy, you perform lengthy operations such as post-clone cleanup scripts or excluding Task data older than 90 days only once. The clones in step 2 have a lighter footprint and complete faster. </td></tr></tbody></table> </div> </div> </div> <div class="section" id="exploring-instance-clone__section_vhg_ppv_nfc"><h2 class="title sectiontitle">Instance Clone workflow</h2> <div class="fig fignone" id="exploring-instance-clone__fig_ky4_kzb_zfc"><span class="figcap"><span class="fig--title-label">Figure 1. </span>Instance Clone workflow diagram</span> <img class="image" id="exploring-instance-clone__image_yr1_4zb_zfc" src="../image/instance-clone-workflow-diagram-final.png" alt="Instance clone workflow diagram." /> </div> <div class="p"> <ol class="ol" id="exploring-instance-clone__ol_yfr_ppv_nfc"><li class="li"> <p class="p">Clone build configuration: The clone prepares the basic definitions, configurations, and profile options. The clone checks what to include, exclude, or preserve.</p> </li><li class="li">Preflight checks: The clone checks the source and target instances to ensure that they are in a healthy state before proceeding with the clone.</li><li class="li"> <p class="p">Backup: Uses the latest daily backup. If there were major recent changes, a new backup is created. Users can also trigger a new backup manually by selecting the On-demand backup via the Clone Admin Console.</p> </li><li class="li"> <p class="p">Pre Clone: Prepares space for the new database before restoring it.</p> </li><li class="li"> <p class="p">Provision database interface (DBI): A new target instance is set up to receive the restored data.</p> </li><li class="li"> <p class="p">Restore: The backup data is restored to the new target instance.</p> </li><li class="li"> <p class="p">Exclusions: Tables marked for exclusion are deleted.</p> </li><li class="li"> <p class="p">Preservers: Data is preserved from the old target (pre-clone instance) and is copied to the new target instance.</p> </li><li class="li">Node repoint: The system switches from the old target to the new clone without user disruption.</li><li class="li">Scheduling scripts: Cleanup scripts and custom scripts are scheduled to run.<div class="note"><span class="notetitle">Note:</span> Scripts with the same priority may run at the same time.</div> </li><li class="li"> <div class="p">Post Clone: Cleanup scripts run.<div class="note"><span class="notetitle">Note:</span> Verify that custom scripts have proper error handling to avoid issues. Without proper error handling, failing customized scripts can help prevent subsequent scripts from executing.</div> </div> </li></ol> </div> </div> </div> <div class="topic concept nested1" id="Clone-UI"> <h2 class="title topictitle2" id="ariaid-title2">Clone Admin Console</h2> <div class="body conbody"><p class="shortdesc">The Clone Admin Console is the user interface where administrators can manage, request, and monitor their instance clones. The Clone Admin Console makes it easier to track clones between instances.</p> <div class="embed-responsive embed-responsive-16by9"><iframe class="iframe embed-responsive-item" id="Clone-UI__vimeo-object-vr5_43m_vcc" src="https://player.vimeo.com/video/1006365658?h=e210d21863&badge=0&autopause=0&player_id=0&app_id=58479https://player.vimeo.com/video/1006365658%3Fh=e210d21863&badge=0&autopause=0&player_id=0&app_id=58479https://player.vimeo.com/video/1006365658%3Fh=e210d21863&badge=0&autopause=0&player_id=0&app_id=58479"></iframe></div> <div class="p"><span class="ph uicontrol">Clone Admin Console benefits</span><ul class="ul" id="Clone-UI__ul_bxg_s5c_cgc"><li class="li">All your exclusions, preservers, and scripts can be found under Definitions.</li><li class="li">Your existing settings like profiles and registered instances can be found under Configurations.</li><li class="li">The Clone Admin Console provides guidance on the clone request page, an on-demand backup option, and enables more visibility into clone progress.</li><li class="li">You can also duplicate clone profiles.</li></ul> </div> <div class="section" id="Clone-UI__section_upj_dzs_w1c"><h3 class="title sectiontitle">Cloning</h3> <p class="p">Clone copies data and metadata from one ServiceNow instance (source instance) to another ServiceNow instance (target instance). Cloning is useful to copy the data and metadata from a production instance to a non-production instance to test changes. Clone data comes from the most recent daily backup. To learn more about cloning, see <a class="xref" href="https://servicenow.com/docs/bundle/zurich-platform-administration/page/administer/managing-data/concept/exploring-instance-clone.html#c_SystemClone" title="Clone to an instance on a different version, from a backup, or over a production instance with instance clone.">Clone (legacy UI)</a>.</p> </div> <div class="section" id="Clone-UI__section_tgt_lzs_w1c"><h3 class="title sectiontitle">Notes regarding the Clone Admin Console</h3> <div class="p"> <ol class="ol" id="Clone-UI__ol_svs_2s2_y1c"><li class="li">Legacy clones and clones requested in the Clone Admin Console are stored separately. Clone Admin Console requests are stored on a new table and are only displayed within the new console. Legacy clones requested on the legacy Request Clone page are stored in the legacy Clone History table. Legacy clones don't display in the console.</li><li class="li">Since they’re stored separately, request numbers in the console and legacy systems might overlap.</li><li class="li">Your existing clone instances, clone profiles, exclusions, preservers, and cleanup scripts are available within both the Clone Admin Console and the original lists and forms.</li><li class="li"> <p class="p">To place a request using the Clone Admin Console, you need:</p> <ul class="ul" id="Clone-UI__ul_hrx_zrk_zfc"><li class="li"> <p class="p">The <span class="ph uicontrol">clone_admin</span> role on the source instance.</p> </li><li class="li"> <p class="p">The <span class="ph uicontrol">clone_admin</span> and the <span class="ph uicontrol">soap</span> role on the <span class="ph uicontrol">target</span> instance.</p> </li></ul> </li><li class="li">Clone Admin Console uses the same clone engine as the legacy clone. The clone behavior is the same with a better interface. </li></ol> </div> </div> <div class="section" id="Clone-UI__section_d23_ms2_y1c"><h3 class="title sectiontitle">Overview of the Clone Admin Console</h3> </div> <div class="section" id="Clone-UI__section_unl_yxv_cxb"><h3 class="title sectiontitle">Home</h3> <div class="note"><span class="notetitle">Note:</span> The clone home page displays clones requested through the <span class="ph uicontrol">Clone Admin Console</span>. You can't view clones requested through the <code class="ph codeph">legacy request page (clone_instance.do)</code> in the dashboard. Clones are displayed in either a grid or list view.</div> <p class="p">The home page displays the current clones in your instance. Use the <span class="ph uicontrol">search bar</span> to locate your clone.</p> <div class="p">Filter options are available to identify the clones you want to view with the filter drop-down button. You can apply the following conditions to display on the dashboard:<ul class="ul" id="Clone-UI__ul_j33_2zv_cxb"><li class="li">Canceled</li><li class="li">Completed</li><li class="li">Error</li><li class="li">Requested</li><li class="li">Rollback failure</li><li class="li">Rollback requested</li><li class="li">Rolled back</li><li class="li">Rolling back</li><li class="li">Running</li></ul> </div> </div> <div class="section" id="Clone-UI__section_awx_yxv_cxb"><h3 class="title sectiontitle">Configurations</h3> <p class="p">The <span class="ph uicontrol">Overview</span> tab displays the current number of <span class="ph uicontrol">Clone instances</span> and <span class="ph uicontrol">Clone profiles</span> in your instance.</p> <p class="p">On the <span class="ph uicontrol">Clone instances</span> tab, you can view all currently available clone instances. You can use instances added to this list as a <span class="ph uicontrol">clone source</span> or <span class="ph uicontrol">clone target</span> for your clones. To add your non-production instance to your clone instances list, select <span class="ph uicontrol">New</span>.</p> <p class="p">The <span class="ph uicontrol">Clone profiles</span> tab displays all of your available <span class="ph uicontrol">Clone profiles</span>. Clone profiles are customizable templates for clones and can be saved and reused to achieve consistent outcomes with each of your clones. To learn more about Clone Profiles see <a class="xref" href="https://servicenow.com/docs/bundle/zurich-platform-administration/page/administer/managing-data/task/t_StartAClone.html#system-profile-clone" title="A clone profile enables you to store predefined target and clone options. The clone profile automatically populates your clone request with your selected profile settings.">Clone profiles for clone requests</a>.</p> <div class="p"><div class="note"><span class="notetitle">Note:</span> The profile <span class="ph uicontrol">System Profile</span> is available out-of-the-box and can't be modified.</div> Custom profiles use the default <span class="ph uicontrol">Exclusions, Preservers, and Scripts</span> from the <span class="ph uicontrol">System Profile</span>.</div> <div class="p"> <div class="note"><span class="notetitle">Note:</span> When creating a custom profile, all existing custom exclusions and preservers are automatically added.</div> </div> <div class="p">You can create as many custom clone profiles as you'd like and edit them as needed. To change the definitions of a clone profile, such as exclusions, preservers or cleanup scripts, select the number under the definition and select the <span class="ph uicontrol">Edit</span> button on the page.<div class="note"><span class="notetitle">Note:</span> Some out-of-the-box system items can't be removed from the exclusions, preservers, or scripts list.</div> </div> <p class="p">You can add external email addresses to receive clone notifications.</p> </div> <div class="section" id="Clone-UI__section_bgt_3c5_gxb"><h3 class="title sectiontitle">Request clone</h3> <p class="p">The app features a clone request page, with guidance and explanations for how the various clone settings affect your clone. The new request page also features a new scheduling calendar to help to prevent timing conflicts with <span class="ph">ServiceNow</span> maintenance windows.</p> <p class="p">To learn more about how to request a clone see <a class="xref" href="https://servicenow.com/docs/bundle/zurich-platform-administration/page/administer/managing-data/task/t_StartAClone.html" title="Request a clone to copy data from a production instance to a non-production instance or to copy data between non-production instances.">Request a clone</a>.</p> </div> </div> </div> <div class="topic concept nested1" id="c_SystemClone"> <h2 class="title topictitle2" id="ariaid-title3">Clone (legacy UI)</h2> <div class="body conbody"><p class="shortdesc">Clone to an instance on a different version, from a backup, or over a production instance with instance clone.</p> <div class="section" id="c_SystemClone__section_m45_prc_m1b"><h3 class="title sectiontitle">Clone to an instance on a different version</h3> </div> <div class="example" id="c_SystemClone__example_bnd_rld_cgc"><h3 class="title sectiontitle">Clone to an instance on a different version</h3><p class="p">You can clone between instances that are on different family release versions. During a clone, the source version will replace the target version. Example: If you clone from Source (Zurich) to Target (Yokohama) the target will match the source after the clone and be on Zurich release.</p> .</div> <div class="section"><h3 class="title sectiontitle">Clone from a backup</h3> <p class="p">The clone uses data from the most recent, daily backup of the source instance when cloning. Backups that are used for cloning are a maximum of 36 hours old. Instance clone begins the initial preparation, including selecting the latest backup to use, only at the date and time processing is scheduled to start.</p> <p class="p">If the source and target instances are on different versions of the <span class="ph">ServiceNow AI Platform</span>, the target instance is modified to match the source instance version during this time.</p> <p class="p">When starting a clone from a backup, the date and time the backup was taken, as well as periodic progress messages, appear in the <span class="ph uicontrol">Clone Log</span> related list.</p> <div class="p"> <div class="fig fignone" id="c_SystemClone__fig_fg3_34s_gr"><span class="figcap"><span class="fig--title-label">Figure 2. </span>Instance clone backup log</span> <img class="image" id="c_SystemClone__image_mkg_l4s_gr" src="../image/SystemCloneBackupLog2.png" alt="Clone log backup record" /> </div> </div> </div> <div class="section"><h3 class="title sectiontitle">Clone over production instances</h3> <p class="p">As long as the system property <span class="keyword parmname">glide.db.clone.allow_clone_target</span> is TRUE, an instance can serve as a clone.</p> </div> <div class="section" id="c_SystemClone__section_s52_3yw_gbc"><h3 class="title sectiontitle">Deprecated Clone Options</h3> <div class="p">The clone option check box <span class="ph uicontrol">Preserve users and related tables</span> has been removed from Clone Options in the Utah release. In some cases, past customizations to the clone request page or related to clone, may cause this field to remain on your form. <div class="note important"><span class="importanttitle">Important:</span> Checking this deprecated field doesn't effect the user, role, or related tables during your clone.</div> .</div> </div> </div> </div> <div class="topic concept nested1" id="clone-exclusions-preservers-cleanupscripts"> <h2 class="title topictitle2" id="ariaid-title4">Clone exclusions preservers and cleanup scripts</h2> <div class="body conbody"><p class="shortdesc">You can use clone definitions such as exclusions, preservers, and cleanup scripts in your clone.</p> <div class="section" id="clone-exclusions-preservers-cleanupscripts__section_d3l_zxv_cxb"><h3 class="title sectiontitle">Definitions</h3> <div class="p">The <span class="ph uicontrol">Definitions</span> page displays an overview for<ul class="ul" id="clone-exclusions-preservers-cleanupscripts__ul_nkp_gw5_2xb"><li class="li"><span class="ph uicontrol">Exclusions</span></li><li class="li"><span class="ph uicontrol">Preservers</span></li><li class="li"><span class="ph uicontrol">Cleanup Scripts</span></li></ul> .</div> <p class="p">The <span class="ph uicontrol">Exclusions</span> tab lists the tables that aren’t copied during an instance clone. When excluding a table, the clone automation truncates the entire table including its child tables. The clone process excludes (or removes) data from both the parent and the child tables. The child tables, however, aren't individually added to the list of excluded tables. Only the parent table is listed. By default, the system excludes tables for logging, auditing, notifications, workflow contexts, and license usage. Select <span class="ph uicontrol">New</span> to configure additional <span class="ph uicontrol">Exclusions</span>.</p> <p class="p">The <span class="ph uicontrol">Preservers</span> tab displays a list of available data preservers that protect data on the target instance from being overwritten.</p> <p class="p"> <span class="ph uicontrol">Preservers</span> work differently compared to exclusions. When preserving a table, the clone automation doesn’t automatically preserve the child tables. Therefore, the child tables must be individually added to the preserver list. Preservers are defined on the source instance. To create a preserver see <a class="xref" href="https://servicenow.com/docs/bundle/zurich-platform-administration/page/administer/managing-data/task/create-new-clone-preserver.html" title="Create clone preservers to protect data on the target instance from being overwritten.">Create a new clone preserver</a>.</p> <p class="p">To view child tables of a table, you can go to the following link and input their table: <code class="ph codeph">[instance].service-now.com/now/nav/ui/classic/params/target/generic_hierarchy_erd.do</code>.</p> <p class="p">During a clone, data from the source instances replaces data from the target instance. Therefore, any in-progress development work on the target instance is overwritten. For example: work-in-progress update sets, scoped apps that only exist on the target instance but not on the source instance. If you have in-progress update sets, you must export them before the clone and reimport them after the clone is finished. Custom applications that aren't yet deployed to the source instance must be re-installed after the clone is completed. To learn more about clone and app development tips, see Whitepaper <a class="xref" href="https://learning.servicenow.com/nowcreate/en?id=nc_asset&asset_id=ce3c254697cc82d06eedb30e6253af3b&nc_source=copy_asset_link" target="_blank" rel="noopener noreferrer">here</a>.</p> <p class="p">The <span class="ph uicontrol">Cleanup scripts</span> tab displays a list of all of your available scripts. You can write cleanup scripts to automate post-clone steps. To create a cleanup script see <a class="xref" href="https://servicenow.com/docs/bundle/zurich-platform-administration/page/administer/managing-data/task/create-cleanup-script.html" title="Use cleanup scripts to automate post-clone steps or to modify data after your clone.">Create cleanup scripts</a>.</p> </div> <div class="section" id="clone-exclusions-preservers-cleanupscripts__section_ahk_kxg_bgc"><h3 class="title sectiontitle">Clarifying exclusions and preservers combinations</h3> <p class="p">Clone exclusions and preservers are both useful for managing your data. The graphics help to identify the expected outcome of the following combinations of preservers and exclusion combinations. For more information, see <a class="xref" href="https://www.servicenow.com/community/servicenow-ai-platform-blog/platform-fundamentals-academy-february-20th-2025-clone-admin/ba-p/3170929" target="_blank" rel="noopener noreferrer">https://www.servicenow.com/community/servicenow-ai-platform-blog/platform-fundamentals-academy-february-20th-2025-clone-admin/ba-p/3170929</a></p> <p class="p"><img class="image" id="clone-exclusions-preservers-cleanupscripts__image_cft_myg_bgc" src="../image/clone-exclusion-preservers-cheatsheet.png" alt="Clone exclusions and preservers cheatsheet." /></p> <div class="p"> <ul class="ul" id="clone-exclusions-preservers-cleanupscripts__ul_rs3_wxc_cgc"><li class="li">Scenario 1: Preserving and excluding a table. You want the records on your target instance to remain the same.</li><li class="li">Scenario 2: Preserving and not excluding a table. You want records on your target Instance to remain the same and records for your source instance to be copied over.</li><li class="li">Scenario 3: Not preserving and excluding a table. You want records from your source instance not to be copied over and records on your target instance to be removed: The table is empty but usable after the clone.</li><li class="li">Scenario 4: Not preserving and not excluding a table. You want records from your source instance to replace records on your target instance.</li></ul> </div> </div> </div> </div> </div> </body></html></div>