For QA, testing purposes or regular release cycles it might be useful to take a snapshot of an existing CQ5 instance such as one already running in production and use it as a clone.
This article describes what steps are required to create a CQ5 clone and run it independently. Please note that this procedure assumes that CQ5 is running out of the box with Day's CQ Servlet Engine and quickstart capabilities.
CQ5 comes with CRX as its underlying repository which in turn offers an online backup [1] feature. This allows for easy creation of snapshots while guaranteeing uptime of the instance to be cloned. The zip-file created by the backup process contains the complete instance.
listener.properties
in crx-quickstart/repository/shared/journal/control
crx-quickstart/repository/shared/version/control
crx-quickstart/repository/shared/workspaces/<workspace.name>/control
crx-quickstart/repository/cluster_node.id
.lock
files (if existing)optimize*.tar
files (if existing)lock.properties
files (if existing)After this procedure has finished, following list of items need to be checked:
CQ5.1, CQ5.2, CQ 5.3
[1] Online Backup
Sign in to your account