Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Best PRactices - Production synchronization

Avatar

Level 3

What are best practices to automatically (regular intervals) synchronize the full JCR state (content, components, ...) from (running) production system to developer/testing machines for testing and debugging?

Assume compiled Java stuff is matching on both systems. AEM Version 6.1 and above.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

it should only be content you are synching back. You deployment process should take care of making sure the code/components is the same across environments.

There are various tools for synching content from prod back to lower environments [0][1][2]. If you are bringing content back to Dev, then I'd say it  makes sense to only bring back certain content, no need for everything, so just slices of the content, for which you could use packages

Regards,

Opkar

 

[0]http://cq-ops.tumblr.com/post/43179911102/how-to-efficiently-copy-large-amounts-of-content

[1]https://github.com/TWCable/grabbit

[2]http://adamcin.net/net.adamcin.recap/

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

Hi,

it should only be content you are synching back. You deployment process should take care of making sure the code/components is the same across environments.

There are various tools for synching content from prod back to lower environments [0][1][2]. If you are bringing content back to Dev, then I'd say it  makes sense to only bring back certain content, no need for everything, so just slices of the content, for which you could use packages

Regards,

Opkar

 

[0]http://cq-ops.tumblr.com/post/43179911102/how-to-efficiently-copy-large-amounts-of-content

[1]https://github.com/TWCable/grabbit

[2]http://adamcin.net/net.adamcin.recap/

Avatar

Level 2

If the volume of content changes is low, you can also setup replication agents to replicate content to lower environments based on events (activated, modified...).