Clone Site
Table of Contents
Introduction
The Clone Site job enables you to create an exact replica of an existing site. This process involves duplicating all essential elements, including entries, views, sections, lists, URLs, and tags, allowing you to set up new instances with identical configurations. Clone Site is particularly valuable for testing environments, creating backup instances, or establishing new sites based on proven structures. After cloning, the new site can be customized independently of the original.
Cloned Entities
Option | Description |
---|---|
Entries | Clones all entries associated with the original site, including entry data, tags, and sections. |
Views | Duplicates all view settings, maintaining the same display structure for the cloned site. |
Sections | Replicates all sections, ensuring organizational consistency across the cloned and original sites. |
Lists | Clones lists, including configurations and associated entries. |
URLs | Duplicates all URLs, providing identical link structures in the new site. |
Tags | Copies all tags associated with entries, preserving tagging schemes. |
Logging Details
After the Clone Site job is completed, detailed logging messages provide insights into the cloning process. These messages summarize the outcome of each element cloned, ensuring you can verify the completeness and success of the operation. Below you can find the logging messages you may encounter:
Message | Description |
---|---|
New site is created! | Confirms the new site was successfully created as a replica of the original. |
Cloning entities in site has started! | Indicates that the cloning of entities has started. |
Cloned [count] entries | Specifies the number of Entries successfully cloned. |
Cloned [count] views | Specifies the number of Views duplicated. |
Cloned [count] sections | Shows the number of Sections replicated in the new site. |
Cloned [count] lists | Details the count of Lists cloned. |
Cloned [count] URLs | Notifies the number of URLs duplicated. |
Cloned [count] tags | Provides the count of Tags cloned along with entries. |
Invalid site id: [siteId]! | Indicates that an invalid siteId was provided. |
Site alias is required | Notifies that a site alias must be provided. |
Site name is required | Notifies that a site name must be provided. |
New Site id is required! | Indicates that a new site ID is required. |
Site with id: [siteId] not found | Notifies that the site ID was not found. |
Site alias is already in use. | Indicates that the site alias provided is already taken. |
Unable to clone [Entity] documents on attempt [attempt]. | Informs that an entity could not be cloned on the specified attempt. |
Retrying cloning [Entity] documents on attempt [attempt]. Next attempt at [time] UTC in [minutes] minutes. | Indicates a retry with the time for the next attempt. |
Stopped retrying cloning [Entity] documents after [attempt] attempts. | Confirms that retries stopped after the specified number of attempts. |
Finished Cloning/DeepCloning [Entity] documents! | Confirms the successful completion of cloning/deep cloning for the entity. |
Clone site completed successfully | Confirms that the Clone Site job was executed successfully. |
These logging messages give you complete transparency over the Clone Site job, allowing you to track the progress of each component duplicated. Whether cloning for testing, backup, or to create a new instance, these logs help ensure accuracy and traceability throughout the cloning process.