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 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책