Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments
SOLVED

AEM data backup

Avatar

Level 4

Hi all.

Would replacing the whole /crx-quickstart folder from one instance to another instance include all data including user changes + log?

 

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Employee

@ariesyinn  Yes it will. crx-quickstart contains the data store and the node store with all the repository information including versions and logs. However, it's a recommended way to back up a repository. It is recommended to go with online and offline backups

https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/backup-and-re...

View solution in original post

10 Replies

Avatar

Correct answer by
Employee

@ariesyinn  Yes it will. crx-quickstart contains the data store and the node store with all the repository information including versions and logs. However, it's a recommended way to back up a repository. It is recommended to go with online and offline backups

https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/backup-and-re...

Avatar

Level 4
Hi @shelly-goel I see 'make a snapshot backup' in offline backup step 2. Does it mean to snapshot which folder?

Avatar

Employee
Yes it would be the crx repository installation directlry, however it involve downtime ans you would have to plan accordingly. Online backups doesn't have downtime.

Avatar

Level 4
Thank you. @shelly-goel. We would back up the data during downtime because afraid we would miss any changes/data coming in after online back up..

Avatar

Community Advisor

@ariesyinn 
After taking the backup by the recommended way mentioned by @shelly-goel , an important point to remember while using the back copy at another place that there should not be any packages inside /crx-quickstart/install or the location of AEM installation director should have the same path otherwise you will end up with corrupted repository or missing data.

 

For example:

Source path of taking backup is c:/aem/author/crx-quickstart/install

then target path to another machine should be the same c:/aem/author

 

Because at the time of aem start, package manager tries to validate all the packages either directly uploaded to pack manager or packages kept/removed inside /crx-quickstart/install folder. So if the pack manager found that packages path c:/aem/author/crx-quickstart/install is changed to something else then uninstall of these packages inside /crx-quickstart/install will be triggered.

/Brijesh

Avatar

Level 4
Hi @BrijeshYadav, currently, there is org.apache.flexi.http.jetty-x.x.x.jar inside /crx-quickstart/install folder and noted that I will remove that jar before replacing /crx-quickstart folder under new server.

Avatar

Level 4
In your last paragraph, what does 'packages kept/removed'? Would you mind to elaborate more?

Avatar

Community Advisor

For the statement "packages kept/removed inside /crx-quickstart/install folder". I meant if any package inside the install folder was added.
Here is the documentation of automatically installing aem package at the time of start which is also known as file-based upload and install
https://experienceleague.adobe.com/docs/experience-manager-65/administering/contentmanagement/packag...


Avatar

Level 4
As we have more than one publish servers, can we use that same crx-quickstart folder on any servers or we must use the exactly the same package what I copied.. Let say there will be Author_backup, Publisher_1_backup, Publisher_2_backup and Publisher_3backup.