---
sourceDocument: Australia Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/australia/application-development

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Cloning instances

# Cloning instances with AES {#ariaid-title1}

Release version: Australia  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Cloning instances with AES

This guidance explains how ServiceNow customers can effectively clone instances using App Engine Studio (AES) while protecting critical data, tables, and templates.
It focuses on cloning from production to non-production environments and highlights the necessary steps to preserve data integrity and avoid overwriting important information during the cloning process.
Show full answer Show less  

## Key Requirements for Cloning with AES

* Ensure all AES plugins are installed on all instances involved in cloning.
* Set up data preservers on target non-production instances to protect Automated Test Framework (ATF) and Instance Scan properties.
* The ATF system property is disabled by default on production to prevent accidental test runs that can cause data corruption or outages.
* If development and deployment data is collected, install the App Engine Management Center (AEMC) plugin on all instances.
* Create a cloning strategy to prevent loss of data in development environments, as cloning production data may overwrite non-production tables.

## Data Preservation and Clone Exclusions

Certain AES-related tables are protected to maintain collaboration data and prevent loss during cloning:

* **Preserved collaboration descriptor tables (global scope only):** App Collaboration Descriptors, Permissions, Users, and Groups.
* **Clone exclusions:** The same collaboration descriptor and user/group tables are excluded from cloning to avoid copying production data into development.
* If AES is the only application using the Credentials table, create data preservers for Credential Alias, Basic Auth, and Discovery credentials to avoid overwriting.

## Post-Cloning Actions

* Reassign roles to users in AES groups and those with the snappengstudio.user role in non-production instances.
* An automatic "ReSync Collaborations Permissions" post-clone script runs to synchronize collaborators for applications present on both production and development instances.
* Ensure the collaboration plugin is enabled on cloned instances.
* If applications were backed up and restored after cloning, use the "Resync collaboration permissions" link to reassign delegated development permissions.
* Use the "Clean up records with empty references" UI action after cloning to remove unreferenced collaboration users or groups.

## Preserving App Templates

Custom templates created in AES are treated as scoped applications and are at risk of being overwritten during cloning. To protect these templates:

* Follow the data preservation process for applications by creating clone preservers on non-production instances.
* This ensures templates remain intact and available for continued development post-cloning.

## Additional Data Preservation

Other AES-related tables for pipeline, authorization, deployment requests, and environments also have data preservation enabled to ensure consistent cloning outcomes.

## Additional Resources

* ServiceNow offers detailed documentation on System Clone and data preservation.
* Additional knowledge articles cover cloning basics, tips, and FAQs.
* The App Engine Studio System Administrator Guide provides deeper insights into AES cloning best practices.
* Registered users can access a whitepaper on Data Preservation During System Clone through ServiceNow University.  
Learn how to protect the data, tables, and templates you've created in App Engine Studio when using System Clone to copy instances from
production to non-production.

## Preserving data and tables when cloning {#cloning-aes-applications__section_hv3_l5d_s5b}

The following are requirements for cloning instances with AES:

1. Verify that all of your AES plugins are installed across all instances.
2. If you're cloning a production instance, verify that you've set up a data preserver on the target instances to preserve the Automated Test Framework (ATF) and Instance Scan properties. For more information about data preservers, see [Create a clone preserver](https://www.servicenow.com/docs/access?context=create-new-clone-preserver&version=australia&pubname=australia-platform-administration&ft:locale=en-US) and [Preserve data during an instance clone](https://www.servicenow.com/docs/access?context=t_CreateADataPreserver&version=australia&pubname=australia-platform-administration&ft:locale=en-US).  
   Important:  
   By default, the ATF system property is disabled to prevent you from accidentally running these tests on a production system. Running ATF on a production instance is neither recommended nor supported due to the potential for data corruption or outages.
3. If you're collecting development and deployment data, the App Engine Management Center (AEMC) plugin must be installed on all instances.
{#cloning-aes-applications__ol_xnz_hjn_x5b}  
Cloning data and tables from a production instance over a non-production instance can overwrite data in your non-production tables. To ensure that data isn't lost in development environments, create a cloning strategy for collaboration.

1. The following tables have data preservation to ensure that the tables are correctly cloned between instances:  
   Note:  
   For the following tables, preservation is for global scope only.
   * Collaboration Descriptor tables:
     * App Collaboration Descriptors (sys_appcollab_descriptor)
     * App Collaboration Descriptor Permissions (sys_appcollab_permission_m2m)
     {#cloning-aes-applications__ul_wlt_y1n_gxb}
   * Collaboration Users and Groups tables:
     * App Collaboration Users (sys_appcollab_user)
     * App Collaboration Groups (sys_appcollab_group)
     {#cloning-aes-applications__ul_mrp_1bn_gxb}
   {#cloning-aes-applications__ul_pft_nm5_x5b}The data preservation ensures data is retained on the tables in the development instances.
2. The following tables have clone exclusions:
   * Collaboration Descriptor tables:
     * App Collaboration Descriptors (sys_appcollab_descriptor)
     * App Collaboration Descriptor Permissions (sys_appcollab_permission_m2m)
     {#cloning-aes-applications__ul_kxk_2bn_gxb}
   * Collaboration Users and Groups tables:
     * App Collaboration Users (sys_appcollab_user)
     * App Collaboration Groups (sys_appcollab_group)
     {#cloning-aes-applications__ul_lxk_2bn_gxb}
   {#cloning-aes-applications__ul_jxk_2bn_gxb}Clone exclusions ensure data from production instances isn't copied to development instances.
3. If AES is the only application using the Credentials table, consider creating data preservers for Credential Alias, Basic Auth, and Discovery credentials. Otherwise, you must ensure that these tables aren't overwritten when the production instance is cloned to non-production instances.
4. The following users must be reassigned their roles after cloning:
   * Users in the AES Users group
   * Users in the AES User Limited group
   * Users who have the sn_app_eng_studio.user role in non-production instances
   {#cloning-aes-applications__ul_ew1_mbn_gxb}
5. After cloning, a ReSync Collaborations Permissions post-clone clean-up script runs automatically, so any applications that were the same on production and development instances are automatically have collaborators synced. Developers can resume development on them immediately.  
   Note:  
   The cloned instance must have the collaboration plugin enabled.
6. If some applications were backed up prior to cloning and retrieved after cloning, you can use the Resync collaboration permissions related link on the sys_app record to reassign users and groups to their appropriate delegated development permissions.
7. If a collaboration descriptor is no longer associated with a user or group after cloning (in the event that development apps were wiped out during cloning as they were not in the source instance), select the Clean up records with empty references related link to remove the unreferenced user or group from the collaboration table. You should run this UI action after the cloning is done and all preserved applications have been retrieved (with Resync collaboration permissions already run on them).
{#cloning-aes-applications__ol_p23_yln_x5b}  
The following tables have data preservation to ensure that the tables are correctly cloned between instances:

* Pipeline Instance
* Request Authorization Key
* Deployment Request
* Deployment Environment Request
{#cloning-aes-applications__ul_ddx_gnn_x5b}

## Preserving app templates when cloning {#cloning-aes-applications__section_p4w_45d_s5b}

Admins must protect custom templates from being overwritten during the cloning process.
Without protection, templates created in AES (both from
existing applications and from scratch) are in danger of disappearing during a clone.

When you create a template in AES, a scoped app is
automatically generated on the Custom Applications \[sys_app.list\] table in your instance.
Though they have different contents, template applications and standard custom applications
are treated similarly on the ServiceNow AI Platform. So, preserving app templates during a
system clone works the same way as preserving an application.

To protect app templates on your non-production instances, follow the process in [Create a clone preserver](https://www.servicenow.com/docs/access?context=create-new-clone-preserver&version=australia&pubname=australia-platform-administration&ft:locale=en-US) or [Preserve data during an instance clone](https://www.servicenow.com/docs/access?context=t_CreateADataPreserver&version=australia&pubname=australia-platform-administration&ft:locale=en-US).

## More information on cloning and data preservation {#cloning-aes-applications__section_ybq_k42_s5b}

See the following topics for more information on cloning and data preservation:

* For more information on using the System Clone tool, see [Instance Clone](https://www.servicenow.com/docs/access?context=system-clone-landing&version=australia&pubname=australia-platform-administration&ft:locale=en-US).
* For more information on data preservation, see [Create a clone preserver](https://www.servicenow.com/docs/access?context=create-new-clone-preserver&version=australia&pubname=australia-platform-administration&ft:locale=en-US).
* For more details on cloning instances with AES, see the App Engine Studio System Administrator Guide on [ServiceNow University](https://learning.servicenow.com/).
{#cloning-aes-applications__ul_pwy_h15_x5b}  
{#cloning-aes-applications__table_m51_zrm_jtb-3__entry__2}

| Learn more about cloning instances with AES | Additional ServiceNow resources |
|-|-|
| ServiceNow provides several additional resources on cloning instances with App Engine Studio. | [Cloning basics knowledge article](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1214608) |
| ServiceNow provides several additional resources on cloning instances with App Engine Studio. | [Cloning instances tips and tricks knowledge article](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB1214621) |
| ServiceNow provides several additional resources on cloning instances with App Engine Studio. | [Extensive FAQ knowledge article on cloning instances](https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0715621) |
| ServiceNow provides several additional resources on cloning instances with App Engine Studio. | [App Engine Enterprise - Data Preservation During System Clone Whitepaper](https://learning.servicenow.com/nowcreate?id=nc_asset&asset_id=4b22db79479e91185cbdaf44846d43e1) Note: You must log in to ServiceNow University to access this resource. |
[ ]

{#cloning-aes-applications__table_m51_zrm_jtb-3}

