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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM data backup

ariesyinn
Level 3
Level 3

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
shelly-goel
Correct answer by
Community Advisor
Community Advisor

@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
shelly-goel
Correct answer by
Community Advisor
Community Advisor

@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

ariesyinn
Level 3
Level 3
Hi @shelly-goel I see 'make a snapshot backup' in offline backup step 2. Does it mean to snapshot which folder?
shelly-goel
Community Advisor
Community Advisor
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.
ariesyinn
Level 3
Level 3
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..
BrijeshYadav
Level 5
Level 5

@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

ariesyinn
Level 3
Level 3
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.
ariesyinn
Level 3
Level 3
In your last paragraph, what does 'packages kept/removed'? Would you mind to elaborate more?
BrijeshYadav
Level 5
Level 5
Few people use auto installation of aem packages using
BrijeshYadav
Level 5
Level 5

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...


ariesyinn
Level 3
Level 3
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.