Objective

How to migrate changes that were made to tags, pages and assets from one AEM instance to another. This is useful during upgrades and migrations as a final step. To perform this migration of content, we use the Query Packager tool from ACS Commons.

Environment

AEM 6.x

 

Steps

  1. Download and install ACS Commons to the source AEM instance.

  2. Follow the steps here to create a Query Packager page.

  3. Create three separate Query Packager pages using XPath query language, one for each of these three queries.

    //element(*, cq:Tag)[@jcr:created > xs:dateTime('2015-09-16T00:00:00.000-05:00')]
    //element(*, dam:AssetContent)[@jcr:lastModified > xs:dateTime('2015-09-16T00:00:00.000-05:00')]
    //element(*, cq:PageContent)[@cq:lastModified >= xs:dateTime('2015-09-16T00:00:00.000-05:00')]

    Modify the query, set the date / time to the date and time of the time you would like to pick up content modifications from.

  4. Build the package of the tags first, then assets, and then pages.

  5. Download the packages and upload to the target AEM instance.

  6. Upload and install packages in the same order, tags, assets, then pages.

本产品经 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License 许可  Twitter™ 与 Facebook 中的内容不在 Creative Commons 的条款约束之下。

法律声明   |   在线隐私策略